Difference between revisions of "IsInCombat"
Jump to navigation
Jump to search
imported>Cipscis (Updated to use function template) |
imported>Cipscis (Added note about IsInCombat returning 1 when enemies are actively searching for the player) |
||
Line 8: | Line 8: | ||
|example = player.IsInCombat | |example = player.IsInCombat | ||
}} | }} | ||
==Notes== | |||
*[[IsInCombat]] will return 1 if enemies are actively searching for the player. | |||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 23:12, 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
(inCombat:int{0,1}) actor.IsInCombat
Example
player.IsInCombat
Notes
- IsInCombat will return 1 if enemies are actively searching for the player.