Mod:Creation Kit/SetValue - GlobalVariable

Member of: Mod:Creation Kit/GlobalVariable Script

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.

Syntax
Function SetValue(float afNewValue) native

Parameters

 * afNewValue: What value to set the global to.

Return Value
None.

Examples
XPBoostGlobal.SetValue(1.5)
 * Set the XP boost global to 1.5