GetCombatTarget

From the Oblivion ConstructionSet Wiki
Revision as of 04:38, 28 June 2006 by imported>Khadir (Documenting actor functions ...)
Jump to navigation Jump to search

Template:ActorFunction Syntax:

[ActorID.]GetCombatTarget

Example:

set refVar to GetCombatTarget

Returns the calling actor's current combat target.

Player.GetCombatTarget will always return 0 as the game has no way to determine what target the player has chosen.