Difference between revisions of "GetCombatTarget"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Fella
imported>DragoonWraith
(changing v1.0 to 1.0 for consistency)
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
  [''ActorID''.]GetCombatTarget
  [''ActorID''.]GetCombatTarget
'''Example:'''
set refVar to GetCombatTarget


Returns the calling actor's current combat target.   
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.
Player.GetCombatTarget will always return 0 as the game cannot read the player's mind.
   
   
[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Functions (CS 1.0)]]
[[Category: Actor Functions]]
[[Category: Actor Functions]]
Line 17: Line 14:
[[Category: Combat Functions (CS 1.0)]]
[[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 1.0)]]

Revision as of 21:02, 21 March 2008

Syntax:

[ActorID.]GetCombatTarget

Returns the calling actor's current combat target.

Player.GetCombatTarget will always return 0 as the game cannot read the player's mind.