Difference between revisions of "EVENT TYPE CHARGEN SELECT RACE"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (adding the parameter CID-78 mentions on talk) |
m (Updating template) |
||
Line 1: | Line 1: | ||
{{needs review}} | {{needs review}} | ||
{{event | {{event | ||
− | |sourcefile=script.ldf | + | |sourcefile = script.ldf |
− | |when=This fires when the player selects the icon corresponding to any of the available races. | + | |sourcemodule = |
− | |int0name=nRace | + | |sortkey = CHARGEN_SELECT_RACE |
− | |int0desc= Constant RACE_* integer | + | |when = This fires when the player selects the icon corresponding to any of the available races. |
− | |int1name=bSelected | + | |from = |
− | |int1desc= 1: race selected, 0: race unselected (unused) | + | |to = |
− | |object0name=oCreature | + | |tocategory1 = |
− | |object0desc=The creature going through character generation. | + | |tocategory2 = |
− | + | |int0name = nRace | |
− | + | |int0desc = Constant RACE_* integer | |
+ | |int1name = bSelected | ||
+ | |int1desc = 1: race selected, 0: race unselected (unused) | ||
+ | |object0name = oCreature | ||
+ | |object0desc = The creature going through character generation. | ||
}} | }} | ||
− | |||
[[Category:Character generation]] | [[Category:Character generation]] |
Revision as of 19:08, 21 August 2011
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 races.
- Sent from:
- Sent to:
- Parameters:
-
- Integer 0: Constant RACE_* integer
- Integer 1: 1: race selected, 0: race unselected (unused)
- Object 0: The creature going through character generation.
Usage
case EVENT_TYPE_CHARGEN_SELECT_RACE:
{
int nRace = GetEventInteger(ev, 0); // Constant RACE_* integer
int bSelected = GetEventInteger(ev, 1); // 1: race selected, 0: race unselected (unused)
object oCreature = GetEventObject(ev, 0); // The creature going through character generation.
// insert event-handling code here
break;
}
{
int nRace = GetEventInteger(ev, 0); // Constant RACE_* integer
int bSelected = GetEventInteger(ev, 1); // 1: race selected, 0: race unselected (unused)
object oCreature = GetEventObject(ev, 0); // The creature going through character generation.
// insert event-handling code here
break;
}