EVENT TYPE CHARGEN SELECT GENDER

From Dragon Age Toolset Wiki
Revision as of 21:45, 19 August 2009 by BryanDerksen (Talk | contribs)

Jump to: navigation, search

The documentation on this page is incomplete, obsolete, or otherwise in need of a thorough review. The current content may provide a good starting point for this, but do not rely on its accuracy when using it to design content.

Source:
script.ldf
Sent when:
This fires whenever the gender selection on the create a character screen is modified. It also fires when the screen is entered the first time, defaulting the character to male.
Sent from:
Sent to:
Parameters:
  • Integer 0: Character gender, GENDER_MALE or GENDER_FEMALE

Usage

case EVENT_TYPE_CHARGEN_SELECT_GENDER:
{
int nGender = GetEventInteger(ev, 0); // Character gender, GENDER_MALE or GENDER_FEMALE

// insert event-handling code here

break;
}