Difference between revisions of "IsActor"

468 bytes added ,  19:48, 14 September 2013
no edit summary
imported>Maturin
 
imported>Yukichigai
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Returns 1 if the calling object is an actor (creature or NPC).
{{Function
|CSWikiPage = IsActor
|origin = GECK1
|summary = Returns 1 if the calling reference is an Actor (a Creature or NPC)
|name = IsActor
|referenceType = [ObjectRefID]
|returnVal = 0, 1
|returnType = int
|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
}}


==See Also==
==See Also==
[[GetIsCreature]]
*[[GetIsCreature]]


[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (GECK 1.1)]]
[[Category: Actor State Functions]]
[[Category: Actor State Functions]]
[[Category: Actor State Functions (GECK 1.1)]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]
[[Category: Condition Functions (GECK 1.1)]]
Anonymous user