Difference between revisions of "GetCombatTarget"

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

Revision as of 22:03, 6 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.