StopCombat ends the combat state for an actor, making them stop fighting. An optional target reference can be specified.
ActorRef will stop fighting the player.
ActorRef will stop fighting all nearby targets.
- If the function is called on an actor with a low disposition or remains aggressive towards nearby actors, they may resume fighting and return to combat state. This function proves most useful for scripted actors entering combat with StartCombat.
- If you wish to stop all enemies from fighting a single actor, refer to StopCombatAlarmOnActor.
Link to TES4 Construction Set Wiki: StopCombat.