IsInCombat

From the Fallout3 GECK Wiki
Revision as of 00:12, 24 June 2010 by imported>Cipscis (Added note about IsInCombat returning 1 when enemies are actively searching for the player)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::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

Notes

  • IsInCombat will return 1 if enemies are actively searching for the player.