IsScripted

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Returns true (1) if the calling reference or passed object has a script attached to it.

Syntax

[help]
(bool) ref.IsScripted ScriptableObject:form

Example

if SunnyREF.IsScripted
   ; do something
endif

; or (required for non-references):

if (IsScripted SunnyREF)

See Also