Background for Fallout 4
Member of the Quest script
boolfunctionUpdateCurrentInstanceGlobal(GlobalVariableaUpdateGlobal)Native

[DEV SERVER] Loading description...


Caveats


Parameters

GlobalVariableaUpdateGlobal

CK Wiki Description

The global on the quest whose cached value should be reset to its current value.


Examples

; Attempts to update the current instance of the GameHour global variable - and logs a message if it fails
if (!UpdateCurrentInstanceGlobal(GameHour))
  Debug.Trace("Failed to update GameHour value for quest")
endIf

Auto-Generated Example

GlobalVariable myGlobalVariable__aUpdateGlobal

bool returnedValue = myQuest__toCallFunctionOn.UpdateCurrentInstanceGlobal(myGlobalVariable__aUpdateGlobal)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.