Difference between revisions of "IsActor"

294 bytes added ,  00:54, 1 March 2009
Updated to use function template
imported>Haama
m (Test)
imported>Cipscis
(Updated to use function template)
Line 1: Line 1:
Returns 1 if the calling object is an actor (creature or NPC).
Returns 1 if the calling object is an actor (creature or NPC).
{{Function
|origin = GECK1
|summary = Returns 1 if the calling reference is an Actor
|referenceType = RefID
|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==
Anonymous user