IsInCombat

From the Fallout3 GECK Wiki
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.