Difference between revisions of "EVENT TYPE PLAYERLEVELUP"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(update template)
m (remove redundant category)
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
{{event
 
{{event
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
|when=
+
|when=Fires every time the player requests to enter the levelup screen and causes the Chargen UI to show up.
 
|from=
 
|from=
 
|to= [[module]]
 
|to= [[module]]
 
|tocategory1=module
 
|tocategory1=module
 
|sortkey=PLAYERLEVELUP
 
|sortkey=PLAYERLEVELUP
 +
|object0name=oLevelUpCreature
 +
|object0desc=The creature that fired the event.
 
}}
 
}}

Latest revision as of 00:50, 12 February 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:
Fires every time the player requests to enter the levelup screen and causes the Chargen UI to show up.
Sent from:
Sent to:
module
Parameters:
  • Object 0: The creature that fired the event.

Usage

case EVENT_TYPE_PLAYERLEVELUP:
{
object oLevelUpCreature = GetEventObject(ev, 0); // The creature that fired the event.

// insert event-handling code here

break;
}