GetEquippedCurrentHealth

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Fallout Script Extender.

Description

Returns the current health of the object equipped in the specified slot

Syntax

[help]
(float) ref.GetEquippedCurrentHealth equipmentSlotID:int 

Or:

(float) ref.GetEqCurHealth equipmentSlotID:int

Equipment Slot IDs

 0: Head
 1: Hair
 2: Upper body
 3: Left hand
 4: Right hand
 5: Weapon
 6: Pip boy
 7: Backpack
 8: Necklace
 9: Headband
10: Hat
11: Eyeglasses
12: Nosering
13: Earrings
14: Mask
15: Choker
16: Mouth object
17: Body addon 1
18: Body addon 2
19: Body addon 3