Difference between revisions of "EVENT TYPE CHARGEN SELECT BACKGROUND"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '{{needs review}} {{event |sourcefile=script.ldf |when= |from= |to= }} CHARGEN_SELECT_BACKGROUND')
 
m (Updating template)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{needs review}}
 
{{needs review}}
 
{{event
 
{{event
|sourcefile=script.ldf
+
|sourcefile   = script.ldf
|when=
+
|sourcemodule =
|from=
+
|sortkey      = CHARGEN_SELECT_BACKGROUND
|to=
+
|when         = This fires when the player selects the icon corresponding to any of the available backgrounds
 +
|from         =  
 +
|to           =
 +
|tocategory1  =
 +
|tocategory2  =
 +
|int0name    = nBG
 +
|int0desc    = a [[BACKGROUND_*]] constant
 
}}
 
}}
  
[[Category:Event types|CHARGEN_SELECT_BACKGROUND]]
+
== Remarks ==
 +
 
 +
The code used in the Single Player campaign for this event is found in [[sys_chargen]].
 +
 
 +
[[Category:Character generation]]

Latest revision as of 19:03, 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 backgrounds
Sent from:
Sent to:
Parameters:

Usage

case EVENT_TYPE_CHARGEN_SELECT_BACKGROUND:
{
int nBG = GetEventInteger(ev, 0); // a BACKGROUND_* constant

// insert event-handling code here

break;
}

Remarks

The code used in the Single Player campaign for this event is found in sys_chargen.