Difference between revisions of "IsInCombat"
Jump to navigation
Jump to search
imported>Egocarib m (Category:Condition Functions) |
DavidJCobb (talk | contribs) (Identified the purpose and function of this condition's single integer parameter.) |
||
Line 1: | Line 1: | ||
Returns 1 if the actor is currently in combat. | Returns 1 if the actor is currently in combat, or 0 otherwise. | ||
This condition takes a single integer argument (optional, its value defaulting to 0, when calling the function via the console). If the integer is non-zero, and the actor is in combat but is also [[IsIgnoringCombat|ignoring combat]], then this function will return 0. | |||
==Papyrus Version== | ==Papyrus Version== |
Latest revision as of 15:20, 12 May 2024
Returns 1 if the actor is currently in combat, or 0 otherwise.
This condition takes a single integer argument (optional, its value defaulting to 0, when calling the function via the console). If the integer is non-zero, and the actor is in combat but is also ignoring combat, then this function will return 0.