Difference between revisions of "GetCombatTarget"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
imported>Scruggs
(add to Combat Functions category)
Line 12: Line 12:
[[Category: Reference Variable Functions]]
[[Category: Reference Variable Functions]]
[[Category:Actor Functions]]
[[Category:Actor Functions]]
[[Category:Combat_Functions]]

Revision as of 12:41, 21 January 2007

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.