GetEquippedCurrentHealth

Revision as of 04:22, 6 February 2013 by imported>WarMachineDD7
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::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

(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