Difference between revisions of "GetCombatTarget"

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


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


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

Revision as of 12:17, 15 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.