Difference between revisions of "EVENT TYPE CHARGEN SELECT BACKGROUND"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) |
BryanDerksen (Talk | contribs) (parameter) |
||
Line 2: | Line 2: | ||
{{event | {{event | ||
|sourcefile=script.ldf | |sourcefile=script.ldf | ||
− | |when= | + | |when=This fires when the player selects the icon corresponding to any of the available backgrounds |
|from= | |from= | ||
|to= | |to= | ||
+ | |int0name=nBG | ||
+ | |int0desc=Constant BACKGROUND_* integer | ||
}} | }} | ||
+ | |||
+ | The code used in the Single Player module for this event is found in [[sys_chargen]]. | ||
[[Category:Event types|CHARGEN_SELECT_BACKGROUND]] | [[Category:Event types|CHARGEN_SELECT_BACKGROUND]] | ||
[[Category:Character generation]] | [[Category:Character generation]] |
Revision as of 20:43, 19 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:
- This fires when the player selects the icon corresponding to any of the available backgrounds
- Sent from:
- Sent to:
- Parameters:
-
- Integer 0: Constant BACKGROUND_* integer
Usage
case EVENT_TYPE_CHARGEN_SELECT_BACKGROUND:
{
int nBG = GetEventInteger(ev, 0); // Constant BACKGROUND_* integer
// insert event-handling code here
break;
}
{
int nBG = GetEventInteger(ev, 0); // Constant BACKGROUND_* integer
// insert event-handling code here
break;
}
The code used in the Single Player module for this event is found in sys_chargen.