RemoveScript

From the Fallout3 GECK Wiki
Revision as of 06:31, 6 August 2014 by imported>Odessa (expanded. sources: gribbleshnibit)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

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

Syntax

[help]
(Script:form) ref.RemoveScript ScriptableObject:form

Example

ref OldScript

set OldScript to SunnyREF.RemoveScript

; or (required for non-references):

set OldScript to RemoveScript SunnyREF

See Also