StopCombat

From GECK
Jump to: navigation, search

Description

StopCombat ends the combat state for an actor, making them stop fighting. An optional target reference can be specified.

Syntax

[ActorREF.]StopCombat [OptionalTargetRef]

Examples

ActorRef.StopCombat Player

ActorRef will stop fighting the player.


ActorRef.StopCombat

ActorRef will stop fighting all nearby targets.

Notes

  • 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.


Link to TES4 Construction Set Wiki: StopCombat.

See Also