IsReference

From GECK

Revision as of 13:57, 28 June 2014 by Odessa (Talk | contribs) (added likely use context)

A function added by the Fallout Script Extender.

Description

Returns True (1) if the passed ref variable stores a reference. Particularly useful for validation in cases where a non reference might cause a script to crash.

Syntax

(bool) IsReference reference:ref

Example

if IsReference RefVar
    ; it is safe to proceed
endif
Personal tools