Difference between revisions of "IsInCombat"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Cipscis
(Updated to use function template)
Line 1: Line 1:
Returns 1 if the actor is currently in combat.
{{Function
|CSWikiPage        = IsInCombat
|origin            = GECK1
|summary          = Returns 1 if the calling actor is currently in combat, and 0 otherwise.
|returnVal        = inCombat
|returnType        = int{0,1}
|referenceType    = actor
|example          = player.IsInCombat
}}


[[Category:Functions]]
[[Category:Functions]]

Revision as of 21:52, 23 June 2010

< [[::Category:Functions|Category:Functions]]

Link to TES4 Construction Set Wiki: IsInCombat.

A function included in the GECK version 1.1.0.36.

Description

Returns 1 if the calling actor is currently in combat, and 0 otherwise.

Syntax

[help]
(inCombat:int{0,1}) actor.IsInCombat

Example

player.IsInCombat