Difference between revisions of "IsActor"
Jump to navigation
Jump to search
imported>Ez0n3 |
imported>Yukichigai |
||
Line 2: | Line 2: | ||
|CSWikiPage = IsActor | |CSWikiPage = IsActor | ||
|origin = GECK1 | |origin = GECK1 | ||
|summary = Returns 1 if the calling reference is an Actor | |summary = Returns 1 if the calling reference is an Actor (a Creature or NPC) | ||
|name = IsActor | |name = IsActor | ||
|referenceType = [ObjectRefID] | |referenceType = [ObjectRefID] |
Latest revision as of 18:48, 14 September 2013
< [[::Category:Functions|Category:Functions]]
Link to TES4 Construction Set Wiki: IsActor.
A function included in the GECK version 1.1.0.36.
Description
Returns 1 if the calling reference is an Actor (a Creature or NPC)
Syntax
(0, 1:int) [ObjectRefID].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