Background for Skyrim SE
Member of the GlobalVariable script
voidfunctionSetValueInt(intaiNewValue)

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


Parameters

intaiNewValue

CK Wiki Description

What value to set the global to.


Examples

int newTime = 5
TimeOfDayGlobalProperty.SetValueInt(newTime)

Auto-Generated Example

int myInt__aiNewValue

myGlobalVariable__toCallFunctionOn.SetValueInt(myInt__aiNewValue)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.