Difference between revisions of "GetCombatTarget"

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

Revision as of 23:20, 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.