View Single Post
Old 01-30-2009, 07:03 PM   #5
Ferc Kast
Modder
 
Ferc Kast's Avatar
 
Join Date: Jan 2007
Location: Tython
Posts: 1,586
Current Game: SWTOR
Helpful! Forum Veteran Contest winner - Fan Fiction Veteran Modder 
Quote:
Originally Posted by Star Admiral View Post
You should use the conditional on only one of the nodes. Let's say the male dialog node is first. You would use the c_ismale script in the conditional field. The female dialog node should be below the male one, and not have any conditional scripts for it.

- Star Admiral
That's what I tried. I only got it working by using my own version of the vanilla conditional.

Code:
//Why this works and not the other, I dunno.
int StartingConditional() {
    object PC = GetFirstPC();
    if ( ( GetGender(PC) == GENDER_MALE)) {
		return TRUE;
	}
	return FALSE;
}

Ferc Kast is offline   you may: quote & reply,