EVENT TYPE CHARGEN SELECT CLASS

From Dragon Age Toolset Wiki
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 when the player selects the icon corresponding to any of the available classes
Sent from:
Sent to:
Parameters:
  • Integer 0: a CLASS_* constant
  • Integer 1: 1: class selected, 0: class unselected

Usage

case EVENT_TYPE_CHARGEN_SELECT_CLASS:
{
int nClass = GetEventInteger(ev, 0); // a CLASS_* constant
int bSelected = GetEventInteger(ev, 1); // 1: class selected, 0: class unselected

// insert event-handling code here

break;
}