Difference between revisions of "EVENT TYPE PLAYERLEVELUP"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(formatting)
m (remove redundant category)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{needs review}}
 
{{needs review}}
 
{{event
 
{{event
|when=
+
|sourcefile=script.ldf
 +
|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
 +
|sortkey=PLAYERLEVELUP
 +
|object0name=oLevelUpCreature
 +
|object0desc=The creature that fired the event.
 
}}
 
}}
 
[[Category:Event types|PLAYERLEVELUP]]
 

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;
}