Difference between revisions of "GetGlobalValue"
Jump to navigation
Jump to search
imported>DoctaSax |
imported>DoctaSax |
||
Line 13: | Line 13: | ||
*This is usually only used in dialog conditions and the like. In scripts you can simply look up the value of a global by using: | *This is usually only used in dialog conditions and the like. In scripts you can simply look up the value of a global by using: | ||
set fSomeFloat to | set fSomeFloat to GlobalVarName | ||
GetGlobalValue will also accept the varname string as an argument, with or without quotation marks, but in both cases this is really just you directly typing in the FormID. GetGlobalValue won't accept string variables, only ref variables. | |||
==See Also== | ==See Also== |
Revision as of 19:50, 18 January 2017
< [[::Category:Functions|Category:Functions]]
Link to TES4 Construction Set Wiki: GetGlobalValue.
A function included in the GECK version 1.1.0.36.
Description
Returns the value of a global variable.
Syntax
GetGlobalValue GlobalVar:Form
Notes
- This is usually only used in dialog conditions and the like. In scripts you can simply look up the value of a global by using:
set fSomeFloat to GlobalVarName
GetGlobalValue will also accept the varname string as an argument, with or without quotation marks, but in both cases this is really just you directly typing in the FormID. GetGlobalValue won't accept string variables, only ref variables.