SetEquippedCurrentHealth

From GECK
(Redirected from SetEqCurHealth)
Jump to: navigation, search


A function added by the Fallout Script Extender.

Description

Sets the current health of the equipped object at the given slot for the calling Actor reference.

Syntax

[help]
actorRefr.SetEquippedCurrentHealth newHealth:float equipmentSlotID:int 

Or:

actorRefr.SetEqCurHealth newHealth:float 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