Difference between revisions of "GetCombatTarget"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(changing category)
imported>DragoonWraith
(CS v1.0)
Line 11: Line 11:
[[Category: Functions]]
[[Category: Functions]]
[[Category: Record Variable Functions]]
[[Category: Record Variable Functions]]
[[Category: Record Variable Functions (CS v1.0)]]
[[Category: Actor Functions]]
[[Category: Actor Functions]]
[[Category: Combat Functions]]
[[Category: Combat Functions]]

Revision as of 23:31, 4 July 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.