Mod:Creation Kit/RegisterForTrackedStatsEvent - ScriptObject

Mod:Creation Kit/Category:Scripting Mod:Creation Kit/Category:Papyrus Mod:Creation Kit/Category:Non-Delayed Native Functions Member of: ScriptObject

Registers this active magic effect/alias/form to receive events when a specific tracked stat equals or surpasses a threshold. Once you receive the event, you will be unregistered (it's a one-shot event).

Only the script that registers for an event will receive it. Other scripts attached to the same form, alias, or magic effect will not receive the event unless they also register for it.

Parameters

 * asStat - The tracked stat to watch
 * aiThreshold - The threshold the stat needs to equal or surpass before the event is sent

Return Value
None