StartCombat - Actor
Revision as of 16:06, 25 March 2014 by imported>Jayne2132
Member of: 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
; Have this actor initiate combat with the player
StartCombat(Game.GetPlayer())
; Get two of our aliases to fight each other
Vapor.StartCombat(Luke)