Difference between revisions of "GetCombatTarget"
Jump to navigation
Jump to search
imported>Tegid |
imported>Khadir (Documenting actor functions ...) |
||
Line 1: | Line 1: | ||
{{ActorFunction}} | |||
'''Syntax:''' | '''Syntax:''' | ||
[''ActorID''.]GetCombatTarget | |||
'''Example:''' | |||
set refVar to GetCombatTarget | set refVar to GetCombatTarget | ||
Returns the calling actor's current combat target. | Returns the calling actor's current combat target. |
Revision as of 04:38, 28 June 2006
Template:ActorFunction 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.