GetIsInCombat
From NWN Lexicon
Jump to navigationJump to search
GetIsInCombat(object)
Determines whether a creature is in combat.
Parameters
oCreature
The creature to investigate. (Default: OBJECT_SELF)
Description
Returns TRUE while the creature is in Combat State, that is for a certain amount of time (8 seconds?) after any offensive action by or towards a member of your faction. Combat State also determines combat music, and the ability to rest so you should be able to do your own experiments to determine how long it lasts for, and which actions trigger it.
Version
1.26
See Also
functions: |
author: Tom Cassiotis, editor: Charles Feduke, additional contributor(s): Jon McCarty, Noel Borstad