Difference between revisions of "GetCombatTarget"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>PoHa!
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Line 8: Line 8:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Reference Variable Functions]]
[[Category:Reference Variable Functions]]
[[Category:Reference Variable Functions (GECK 1.0)]]


<!-- Begin Search Terms
<!-- Begin Search Terms

Revision as of 11:37, 12 August 2009

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.