IsScripted

From GECK

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

Personal tools