Difference between revisions of "GetGlobalValue"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>DoctaSax
Line 6: Line 6:
  |arguments =
  |arguments =
   {{FunctionArgument
   {{FunctionArgument
   |Name = GlobalVarName
   |Name = GlobalVar
   |Type = String
   |Type = Form
   }}
   }}
}}
}}
==Notes==
==Notes==
*This is ONLY a condition function. In order to get the value of a global variable in a script, there is no need for a function. Just use the syntax:
*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:


  GlobalVarName
  set fSomeFloat to GlobalVar


==See Also==
==See Also==

Revision as of 19:40, 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

[help]
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 GlobalVar

See Also