Difference between revisions of "IsInCombat"
Jump to navigation
Jump to search
imported>JBurgess |
DavidJCobb (talk | contribs) (Identified the purpose and function of this condition's single integer parameter.) |
||
(One intermediate revision by one other user not shown) | |||
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== | ||
[[IsInCombat - Actor]] | [[IsInCombat - Actor]] | ||
[[Category:Condition Functions]] | |||
[[Category:Console Commands]] | [[Category:Console Commands]] |
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.