Description
Wiki Description
Obtains the actor this actor is currently in combat with.
Documentation Comment
Gets this actor's current combat target
Caveats
Examples
; Print a message if Bob is in combat with the player
if (Bob.GetCombatTarget() == Game.GetPlayer())
Debug.Trace("Bob is in combat with the player!")
endIf
; Below will only return a valid actor ID while your
; cursor is pointing directly on an actor
Actor TargetRef = Game.GetPlayer().GetCombatTarget()
Debug.Trace("My target was " + TargetRef)Auto-Generated Example
Actor returnedValue = myActor__toCallFunctionOn.GetCombatTarget()