Difference between revisions of "GetRefVariable"
Jump to navigation
Jump to search
imported>Odessa (created, sorce nvsewhatsnew) |
imported>Odessa m |
||
Line 29: | Line 29: | ||
*[[GetArrayVariable]] (and for arrays) | *[[GetArrayVariable]] (and for arrays) | ||
*[[HasVariable]] (to check if a variable exists at all) | *[[HasVariable]] (to check if a variable exists at all) | ||
*[[ShowVars]] / [[Con_ShowVars]] (to print all variables/values to console) | |||
*[[SetVariable]] (Added by NVSE 4.5.6) | *[[SetVariable]] (Added by NVSE 4.5.6) | ||
*[[SetRefVariable]] (Aded by NVSE 4.5.6) | *[[SetRefVariable]] (Aded by NVSE 4.5.6) | ||
[[Category:Functions_(NVSE)]] | [[Category:Functions_(NVSE)]] | ||
[[Category:Script Functions]] |
Latest revision as of 11:49, 5 August 2014
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns the value of a 'ref' variable specified by name for the calling reference or specified scriptable object. Added by NVSE V4.1.
Syntax
(form) ref.GetRefVariable VarName:string Parent:Object
Example
ref rActor ref rHome let rHome := rActor.GetRefVariable "rHomeMarker" ; Alternatively, (or required if rActor holds a base form): let rHome := GetRefVariable "rHomeMarker", rActor
See Also
- GetVariable (To get a numeric variable value instead)
- GetArrayVariable (and for arrays)
- HasVariable (to check if a variable exists at all)
- ShowVars / Con_ShowVars (to print all variables/values to console)
- SetVariable (Added by NVSE 4.5.6)
- SetRefVariable (Aded by NVSE 4.5.6)