OnStoryIncreaseLevel - Quest
Revision as of 03:12, 17 March 2018 by imported>Scrivener07 (Added OnStoryIncreaseLevel.)
Member of: Quest Script
Event called when this quest is started via an increase level story manager event.
Syntax[edit | edit source]
Event OnStoryIncreaseLevel(int aiNewLevel)
Parameters[edit | edit source]
- aiNewLevel: The level the player just obtained.
Examples[edit | edit source]
Event OnStoryIncreaseLevel(int aiNewLevel)
debug.trace("Player obtained level: " +aiNewLevel)
Stop()
EndEvent
Notes[edit | edit source]
- If you want this event to continue to fire for each level up, then the quest must be set to either allow repeated stages, or not to have run once checked, and you need to have the script call Stop - Quest.