- Found in:
- Dylbills PE
eventOnCombatStateChangedGlobal(ActorakActor, ActorakTarget, intaeCombatState)
Description
Documentation Comment
note that this will work on the player for most cases. Exception being if stopCombat is called on the player with a script.
internally this checks the player's combat status whenever another actor changes combat status
and sends the event if the player combat status has changed, if the player is registered for akActor.
Parameters
Examples
Auto-Generated Example
Scriptname MyCoolScript extends DbSkseEvents
event OnCombatStateChangedGlobal(Actor akActor, Actor akTarget, int aeCombatState)
Debug.trace("Event received - OnCombatStateChangedGlobal: akActor = " + akActor + " akTarget = " + akTarget + " aeCombatState = " + aeCombatState)
endEvent