Difference between revisions of "IsActor"
Jump to navigation
Jump to search
imported>Cipscis (Updated to use function template) |
imported>SnakeChomp m (Remove leftover description now that we use the template) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = GECK1 | |origin = GECK1 |
Revision as of 01:16, 1 March 2009
< [[::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