Difference between revisions of "IsActor"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
||
Line 16: | Line 16: | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Functions (GECK 1. | [[Category: Functions (GECK 1.1)]] | ||
[[Category: Actor State Functions]] | [[Category: Actor State Functions]] | ||
[[Category: Actor State Functions (GECK 1. | [[Category: Actor State Functions (GECK 1.1)]] | ||
[[Category: Condition Functions]] | [[Category: Condition Functions]] | ||
[[Category: Condition Functions (GECK 1. | [[Category: Condition Functions (GECK 1.1)]] |
Revision as of 12:41, 15 August 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