IsScripted

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

(bool) ref.IsScripted ScriptableObject:form

Example

if SunnyREF.IsScripted
   ; do something
endif

; or (required for non-references):

if (IsScripted SunnyREF)

See Also