GetScript

From the Fallout3 GECK Wiki
Revision as of 06:06, 6 August 2014 by imported>Odessa (expanded)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Returns the script of the reference or passed object.

Syntax

[help]
(script:form) ref.GetScript ScriptableObject:form

Example

ref MyScript

set MyScript to SunnyREF.GetScript

; alternatively or necessarily for non-references:

set MyScript to GetScript SunnyREF

See Also