GetGlobalValue

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Returns the value of a global variable.

Syntax

[help]
GetGlobalValue GlobalVar:Form 

Notes

  • This is usually only used in dialog conditions and the like, because in scripts you can simply look up the value of a global by using:
set fSomeFloat to GlobalVarName

In scripts, GetGlobalValue will also accept the varname string as an argument, with or without quotation marks, but this is really just you directly typing in the FormID. GetGlobalValue won't accept string variables, only ref variables.

See Also