GetHitLocation

From the Fallout3 GECK Wiki
Revision as of 18:58, 12 December 2008 by imported>Quetzilla (→‎Notes: info availability?)
Jump to navigation Jump to search

Description

GetHitLocation Returns the hit location (of the most recent hit?).

Syntax

[ActorREF.]GetHitLocation

Examples

if BuddyRef.GetHitLocation == 0

This would determine if Buddy got hit in the torso.

Notes

  • Possibly this information is available in the OnHit and OnHitWith script blocks. See GetLastHitCritical.
  • The body locations and corresponding numbers are:
    • NONE = -1
    • TORSO = 0
    • HEAD_1 = 1
    • HEAD_2 = 2
    • LEFT_ARM_1 = 3
    • LEFT_ARM_2 = 4
    • RIGHT_ARM_1 = 5
    • RIGHT_ARM_2 = 6
    • LEFT_LEG_1 = 7
    • LEFT_LEG_2 = 8
    • LEFT_LEG_3 = 9
    • RIGHT_LEG_1 = 10
    • RIGHT_LEG_2 = 11
    • RIGHT_LEG_3 = 12
    • BRAIN = 13

See Also

Reference

None provided.