Difference between revisions of "EVENT TYPE PLAYERLEVELUP"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (info from DragonAgeGUISystem.cpp) |
BryanDerksen (Talk | contribs) m (remove redundant category) |
||
(3 intermediate revisions by 2 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]] | ||
Line 8: | Line 8: | ||
|sortkey=PLAYERLEVELUP | |sortkey=PLAYERLEVELUP | ||
|object0name=oLevelUpCreature | |object0name=oLevelUpCreature | ||
− | |object0desc= | + | |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;
}
{
object oLevelUpCreature = GetEventObject(ev, 0); // The creature that fired the event.
// insert event-handling code here
break;
}