- Found in:
- Vanilla
Description
Wiki Description
Sets the current value of the global variable object, taking an int as a parameter. See GlobalVariable.SetValue(...)
Documentation Comment
Sets the global's current value
Caveats
CK Wiki - Notes
- Slightly faster to use GlobalVariable.SetValue(...) and cast as int, as this function calls that one and then casts to int.
Parameters
intaiNewValue
CK Wiki Description
What value to set the global to.
Examples
DoCoolStuffGlobal.SetValueInt(1)Auto-Generated Example
int myInt__aiNewValue
myGlobalVariable__toCallFunctionOn.SetValueInt(myInt__aiNewValue)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
