Difference between revisions of "GetCombatTarget"
Jump to navigation
Jump to search
imported>Khadir (Documenting actor functions ...) |
imported>JOG |
||
Line 1: | Line 1: | ||
'''Syntax:''' | '''Syntax:''' | ||
[''ActorID''.]GetCombatTarget | [''ActorID''.]GetCombatTarget | ||
Line 12: | Line 11: | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Reference Variable Functions]] | [[Category: Reference Variable Functions]] | ||
[[Category:Actor Functions]] |
Revision as of 10:26, 28 June 2006
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.