[DEV SERVER] Loading description...
Caveats
CK Wiki - Notes
- Once the event is sent, you will be unregistered
- If the stat is already equal to or past the threshold, an event will be sent immediately
- If you re-register for a stat, the old threshold value will be replaced, you will not get the event twice
- 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") to watch
intaiThreshold
Examples
; Register to be notified when the player completes 10 or more quests
RegisterForTrackedStatsEvent("Quests Completed", 10)Auto-Generated Example
string myString__asStat
int myInt__aiThreshold
myScriptObject__toCallFunctionOn.RegisterForTrackedStatsEvent(myString__asStat, myInt__aiThreshold)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
