Difference between revisions of "RemoveScript"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(expanded. sources: gribbleshnibit)
imported>Odessa
(Does not work with MGEF)
 
Line 22: Line 22:
set OldScript to RemoveScript SunnyREF
set OldScript to RemoveScript SunnyREF
</pre>
</pre>
==Notes==
* As of NVSE 4.6.2, this function does not work when called on a Base Effect (MGEF).
==See Also==
==See Also==
*[[IsScripted]]
*[[IsScripted]]

Latest revision as of 07:56, 27 February 2015

< [[::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

Notes

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

See Also