Mod:Creation Kit/UnregisterForTrackedStatsEvent - ScriptObject

Member of: ScriptObject

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.

Syntax
Function UnregisterForTrackedStatsEvent(string asStat) native

Parameters

 * asStat - the tracked stat you no longer care about.

Return Value
None

Examples
UnregisterForTrackedStatsEvent("Quests Completed")
 * We don't care about the number of completed quests anymore