- Found in:
- Vanilla
Description
Wiki Description
Sets the current value of the global variable object. Will print an error and fail if you try to set a value on a constant global variable object.
Documentation Comment
Sets the global's current value
Caveats
Parameters
floatafNewValue
CK Wiki Description
What value to set the global to.
Examples
; Set the XP boost global to 1.5
XPBoostGlobal.SetValue(1.5)Auto-Generated Example
float myFloat__afNewValue
myGlobalVariable__toCallFunctionOn.SetValue(myFloat__afNewValue)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
