StopCombat

From the Fallout3 GECK Wiki
Jump to navigation Jump to search

Description[edit | edit source]

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

Syntax[edit | edit source]

[ActorREF.]StopCombat [OptionalTargetRef]

Examples[edit | edit source]

ActorRef.StopCombat Player

ActorRef will stop fighting the player.


ActorRef.StopCombat

ActorRef will stop fighting all nearby targets.

Notes[edit | edit source]

  • 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[edit | edit source]

StopCombatAlarmOnActor