Difference between revisions of "GetScriptVariable"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Wkilleen
 
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/GetScriptVariable GetScriptVariable].
{{Function
|CSWikiPage = GetScriptVariable
|origin = GECK1
|summary = Returns the value of a local variable in the specified object's script.
|name = GetScriptVariable
|arguments =
  {{FunctionArgument
  |Name = ObjectRef
  |Type = ref
  }}
  {{FunctionArgument
  |Name = VarName
  |Type = String
  }}
}}


=='''See Also'''==
==Notes==
[[GetGlobalValue]]<br>
*This is ONLY a condition function. In order to get the value of a quest variable in a script, there is no need for a function. Just use the syntax:
[[GetQuestVariable]]
 
ObjectRef.VarName
 
==See Also==
*[[GetGlobalValue]]
*[[GetQuestVariable]]
*[[ShowQuestVars]]


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Miscellaneous Functions]]
[[Category:Miscellaneous Functions]]
[[Category:Miscellaneous Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.1)]]

Latest revision as of 12:34, 15 August 2009

< [[::Category:Functions|Category:Functions]]

Link to TES4 Construction Set Wiki: GetScriptVariable.

A function included in the GECK version 1.1.0.36.

Description

Returns the value of a local variable in the specified object's script.

Syntax

[help]
GetScriptVariable ObjectRef:ref
  VarName:String


Notes

  • This is ONLY a condition function. In order to get the value of a quest variable in a script, there is no need for a function. Just use the syntax:
ObjectRef.VarName

See Also