GetCombatTarget

From the Fallout3 GECK Wiki
Revision as of 11:37, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Jump to navigation Jump to search

Syntax:

[ActorID.]GetCombatTarget

Returns the calling actor's current combat target.

Notes

  • In Fallout 3, this function can be called on the player and it will return a meaningful value. If the player is aiming at an actor and is close enough for auto aim to work, this function will return a reference to the actor the player is aiming at.