RemoveScript

From GECK

Revision as of 07:56, 27 February 2015 by Odessa (Talk | contribs) (Does not work with MGEF)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A function added by the Fallout Script Extender.

Description

Removes the script of the calling reference or passed object, and returns it.

Syntax

(Script:form) ref.RemoveScript ScriptableObject:form

Example

ref OldScript

set OldScript to SunnyREF.RemoveScript

; or (required for non-references):

set OldScript to RemoveScript SunnyREF

Notes

  • As of NVSE 4.6.2, this function does not work when called on a Base Effect (MGEF).

See Also

Personal tools