Description
Wiki Description
Registers this active magic effect/alias/form to receive Form.OnTrackedStatsEvent(...) when tracked stats are updated. Only the specific form, alias, or magic effect that registered will get the event - it will not be relayed to attached aliases or magic effects.
Documentation Comment
Registers this form to receive events when tracked stats are updated
Caveats
CK Wiki - Notes
- Aliases and quests will automatically unregister for this event when the quest stops. Active magic effects will automatically unregister when they are removed.
- Not all tracked stats trigger the callback registered by this method. To see a list of stats that do, see Form.OnTrackedStatsEvent(...) page.
Examples
; Register for when tracked stats are updated
RegisterForTrackedStatsEvent()Auto-Generated Example
myForm__toCallFunctionOn.RegisterForTrackedStatsEvent()Related Pages
- ActiveMagicEffect
- Alias
- Form
- Form.UnregisterForTrackedStatsEvent()
- Form.OnTrackedStatsEvent(...)
- Game.QueryStat(...) (includes a list of stats)
