IsReference
From GECK
A function added by the Fallout Script Extender.
Contents
Description
Returns True (1) if the passed ref variable stores a valid 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
Notes
- IsReference ALWAYS returns true in a script block that has the CO on (Script Compiler Override).