GetEquippedCurrentHealth

From GECK
Jump to: navigation, search


A function added by the Fallout Script Extender.

Description

For the calling Actor reference, returns the current health (condition) of the object equipped in the specified slot. This does NOT return the item's health percentage.

Syntax

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

Or:

(float) actorRefr.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

See Also