IsScripted

From the Fallout3 GECK Wiki
Revision as of 06:25, 6 August 2014 by imported>Odessa (expanded)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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