In what context? Gunfire, melee, just after the player is hit, any actor in combat with the player at a given time...?
I just need reference, conditions are much easier to figure out. However if you're willing to help - I'm going to use one of conditions desribed below, but I'm not sure which one will be best. I want this to work, when enemy detected player and is about to engage combat (when sneak indicator changes from
[Caution] to
[Danger]).
self.IsInCombatself.GetCombatTarget playerself.GetFactionRelation player == 1self.GetDetected player
"self" is enemy reference, that I need.