GetRefVariable

Revision as of 11:49, 5 August 2014 by imported>Odessa
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::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