Mod:Creation Kit/StartCombat - Actor

Member of: Mod:Creation Kit/Actor Script

Attempts to get this actor to initiate combat with the target.

Syntax
Function StartCombat(Actor akTarget, bool abPreferredTarget = false) native

Parameters

 * akTarget: Who to attempt to initiate combat with.
 * abPreferredTarget : If true, set akTarget as the actor's preferred target
 * Default: false

Return Value
None.

Examples
StartCombat(Game.GetPlayer) Vader.StartCombat(Luke)
 * Have this actor initiate combat with the player
 * Get two of our aliases to fight each other