GetSelf

Revision as of 12:09, 24 February 2006 by imported>Maturin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:

set refVar to GetSelf
set refVar to this

Example:

if GetSelf == GetActionRef
set MyQuest.targetRef to GetSelf

Returns the calling object itself as a reference. Useful for if statements, or for setting reference variables on other scripts.


NOTE: This function will not work on any object that can be put into a container.