EVENT TYPE CHARGEN SELECT BACKGROUND

From Dragon Age Toolset Wiki
Revision as of 19:03, 21 August 2011 by Sunjammer (Talk | contribs) (Updating template)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 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.