Difference between revisions of "EVENT TYPE CHARGEN START"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m |
BryanDerksen (Talk | contribs) (add parameter from GUICharGen.cpp) |
||
Line 9: | Line 9: | ||
|int0name=nMode | |int0name=nMode | ||
|int0desc=the mode in which chargen was started, either CHARGEN_MODE_CREATE or CHARGEN_MODE_LEVELUP | |int0desc=the mode in which chargen was started, either CHARGEN_MODE_CREATE or CHARGEN_MODE_LEVELUP | ||
+ | |object0name=oCreature | ||
}} | }} | ||
Revision as of 20:06, 20 August 2009
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:
- Sent from:
- Sent to:
- module
- Parameters:
-
- Integer 0: the mode in which chargen was started, either CHARGEN_MODE_CREATE or CHARGEN_MODE_LEVELUP
- Object 0: [Undocumented]
Usage
case EVENT_TYPE_CHARGEN_START:
{
int nMode = GetEventInteger(ev, 0); // the mode in which chargen was started, either CHARGEN_MODE_CREATE or CHARGEN_MODE_LEVELUP
object oCreature = GetEventObject(ev, 0); //
// insert event-handling code here
break;
}
{
int nMode = GetEventInteger(ev, 0); // the mode in which chargen was started, either CHARGEN_MODE_CREATE or CHARGEN_MODE_LEVELUP
object oCreature = GetEventObject(ev, 0); //
// insert event-handling code here
break;
}
A range of event constants (nEvent >= EVENT_TYPE_CHARGEN_START && nEvent <= EVENT_TYPE_CHARGEN_END) that occur during character generation.