Difference between revisions of "EVENT TYPE CHARGEN ASSIGN ATTRIBUTES"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(info from GUICharGenBase.cpp)
Line 15: Line 15:
 
}}
 
}}
 
[[Category:Character generation]]
 
[[Category:Character generation]]
 +
[[Category:Event types|CHARGEN_ASSIGN_ATTRIBUTES]]
 +
[[Category:Module events|CHARGEN_ASSIGN_ATTRIBUTES]]

Revision as of 05:36, 3 January 2010

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:
engine
Sent to:
module
Parameters:

Usage

case EVENT_TYPE_CHARGEN_ASSIGN_ATTRIBUTES:
{
object oModule = GetEventCreator(ev); //
int nAttribute = GetEventInteger(ev, 0); // [Undocumented]
int nPoints = GetEventInteger(ev, 1); // [Undocumented]
object oCreature = GetEventObject(ev, 0); //

// insert event-handling code here

break;
}