- Found in:
- Vanilla
Description
Wiki Description
Unregisters this active magic effect/alias/form from receiving a tracked stats event for the specified stat.
Only the script that unregisters for an event will stop receiving it. Other scripts attached to the same form, alias, or magic effect will still receive the event if they registered for it seperately.
Documentation Comment
Unregisters this script from receiving an event for the specified stat
Caveats
CK Wiki - Notes
- You are automatically unregistered when the event fires, so you don't need to unregister in that case.
- Aliases and quests will automatically unregister for this event when the quest stops. Active magic effects will automatically unregister when they are removed.
Parameters
stringasStat
CK Wiki Description
//falloutck.uesp.net/wiki/List_Of_Tracked_Stats "List Of Tracked Stats") you no longer care about.
Examples
; We don't care about the number of completed quests anymore
UnregisterForTrackedStatsEvent("Quests Completed")Auto-Generated Example
string myString__asStat
myScriptObject__toCallFunctionOn.UnregisterForTrackedStatsEvent(myString__asStat)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
