OnStoryIncreaseLevel - Quest

From Creation Kit
Jump to: navigation, search

Member of: Quest Script

Event called when this quest is started via an increase level story manager event.

Syntax

Event OnStoryIncreaseLevel(int aiNewLevel)

Parameters

  • aiNewLevel: The level the player just obtained.

Examples

Event OnStoryIncreaseLevel(int aiNewLevel)
    debug.trace("Player obtained level: " +aiNewLevel)
    Stop()
EndEvent

Notes

  • 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.

See Also