Difference between revisions of "GetEquippedCurrentHealth"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-'''.*'''\r\n +))
imported>WarMachineDD7
 
Line 8: Line 8:
  |arguments =  
  |arguments =  
   {{FunctionArgument
   {{FunctionArgument
   |Name = equipmentSlot
   |Name = equipmentSlotID
   |Type = int
   |Type = 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
[[Category:Functions_(FOSE)]]
[[Category:Functions_(FOSE)]]

Latest revision as of 04:22, 6 February 2013

< [[::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