HudBarGetBarTrait
From GECK
A function added by the SUP NVSE Plugin.
Contents
Description
Returns current value of specified bar traits.
Syntax
(Value:float) HudBarGetBarTrait barName:string Trait:int iModIndex:int
Or:
(Value:float) HBGetBarTrait barName:string Trait:int iModIndex:int
Example
set myFloat to HudBarGetBarTrait "BarName" 0
Will return trait#0 from "BarName" of calling esp.
set myFloat to HudBarGetBarTrait "BarName" 0 19
Will return trait#0 from "BarName" of mod with index 19.
Notes
- Trait list is on HudBarSetBarTrait page.
- Use HudBarGetAllBars to get all bar names with indexes.
See Also
- HudBarSetBarTrait
- HudBarGetAllBars
- ... and more in the SUP HUD Bar Functions category.