IsActor
Revision as of 23:54, 28 February 2009 by imported>Cipscis (Updated to use function template)
Returns 1 if the calling object is an actor (creature or NPC).
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Returns 1 if the calling reference is an Actor
Syntax
RefID.IsActor
Example
set rContainer to GetContainer if rContainer.IsActor ; Some code endif
The code within the if statement will run if the scripted object is in an Actor's inventory