Background for Starfield
Member of the Quest script
eventOnStoryIncreaseLevel(intaiNewLevel)

Description

Wiki Description

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


Caveats

CK Wiki - 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 Quest.Stop().

Parameters

intaiNewLevel

CK Wiki Description

The level the player just obtained.


Examples

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

Auto-Generated Example

Scriptname MyCoolScript extends Quest

event OnStoryIncreaseLevel(int aiNewLevel)
    Debug.trace("Event received - OnStoryIncreaseLevel: aiNewLevel = " + aiNewLevel)
endEvent

Related Pages


Additional References

View this event’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.