GetScript

From GECK

A function added by the Fallout Script Extender.

Description

Returns the script of the reference or passed object.

Syntax

(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

Personal tools