GetHitLocation

From the Fallout3 GECK Wiki
Revision as of 15:00, 26 November 2008 by imported>Kkuhlmann
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

  • 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.