Now I have it working ok, but I wanted to know if it is ok or what is the best way to handle an If > something. Since I don't see an elseif().
And on the NPC Event, I call the Common Event. It all works fine.
But not sure if there is a better way to handle this, or is it ok?
Code:
In Common Events. NPC Guard
If > Variable [Male] = 1
Show Text Option
Exit Event Processing
End
If > Variable [Female] = 1
Show Text Option
Exit Event Processing
End
//In case No Gender is Set
If > Variable [Male] = 0
Show Error Text Option
Exit Event Processing
End
If > Variable [Female] = 0
Show Error Text Option
Exit Event Processing
End
//Chat Options
If GenderSwitchM = ON
Show Dialogue Options: Male
[Options]
Random stuff.
Else
End
If GenderSwitchF = ON
Show Dialogue Options: Female
[Options]
Random stuff.
Else
End
And on the NPC Event, I call the Common Event. It all works fine.
But not sure if there is a better way to handle this, or is it ok?