Difference between revisions of "EVENT TYPE PLAYER LEVELUP"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (update template) |
KigenBarzhad (Talk | contribs) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{needs review}} | {{needs review}} | ||
{{event | {{event | ||
+ | |sourcefile=events_h | ||
|when= Creature is spawned. | |when= Creature is spawned. | ||
|from= Fired by [[sys_rewards_h]].[[RewardXP]] (the levelup system) | |from= Fired by [[sys_rewards_h]].[[RewardXP]] (the levelup system) | ||
Line 6: | Line 7: | ||
|tocategory1=creature | |tocategory1=creature | ||
|sortkey=PLAYER_LEVELUP | |sortkey=PLAYER_LEVELUP | ||
+ | |int0name=nNewLevel | ||
}} | }} | ||
+ | |||
+ | [[Category:Event types|PLAYER_LEVELUP]] | ||
+ | [[Category:Creature events|PLAYER_LEVEUP]] |
Latest revision as of 03:51, 4 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:
- events_h
- Sent when:
- Creature is spawned.
- Sent from:
- Fired by sys_rewards_h.RewardXP (the levelup system)
- Sent to:
- player_core
- Parameters:
-
- Integer 0: [Undocumented]
Usage
case EVENT_TYPE_PLAYER_LEVELUP:
{
int nNewLevel = GetEventInteger(ev, 0); //
// insert event-handling code here
break;
}
{
int nNewLevel = GetEventInteger(ev, 0); //
// insert event-handling code here
break;
}