Difference between revisions of "IsActor"

89 bytes added ,  08:43, 11 January 2011
no edit summary
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Ez0n3
Line 1: Line 1:
{{Function
{{Function
|origin = GECK1
|CSWikiPage = IsActor
|summary = Returns 1 if the calling reference is an Actor
|origin = GECK1
|referenceType = RefID
|summary = Returns 1 if the calling reference is an Actor
|example = set rContainer to GetContainer
|name = IsActor
|referenceType = [ObjectRefID]
|returnVal = 0, 1
|returnType = int
|example = set rContainer to GetContainer
  if rContainer.IsActor
  if rContainer.IsActor
     ; Some code
     ; Some code
Line 10: Line 14:
The code within the if statement will run if the scripted object is in an Actor's inventory
The code within the if statement will run if the scripted object is in an Actor's inventory
}}
}}


==See Also==
==See Also==
Anonymous user