Difference between revisions of "EVENT TYPE PLAYERLEVELUP"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(split out of event)
 
m (remove redundant category)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
*<b>Sent When:</b>
+
{{needs review}}
*<b>Sent From:</b>
+
{{event
*<b>Sent To:</b> module
+
|sourcefile=script.ldf
 
+
|when=Fires every time the player requests to enter the levelup screen and causes the Chargen UI to show up.
Parameters:
+
|from=
 
+
|to= [[module]]
[[Category:Event types|PLAYERLEVELUP]]
+
|tocategory1=module
 +
|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;
}