Difference between revisions of "StartCombat - Actor"
Jump to navigation
Jump to search
imported>Jayne2132 |
(No difference)
|
Revision as of 16:06, 25 March 2014
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)