HudBarSetIndent
From GECK
A function added by the SUP NVSE Plugin.
Description
Sets indent for particular element.
Syntax
(success:int) HudBarSetIndent barName:string iElement:int fZoomValue:float
Or:
(success:int) HBSetIndent barName:string iElement:int fZoomValue:float
Example
HudBarSetIndent "Name" 0 30
Will set indent from the left(if bar is horizontal) or from Below(if bar is vertical) to 30. This is used to make it easier for you if your Meter and frame were drawn as the same picture and gets split later.
Elements
0 - Meter; 1 - Frame; 3 - ImageEx; 10 - All elements
Notes
- Indent is used for meter calculations. Read SUP HUD Bar Functions.
See Also
- HudBarSetSize
- HudBarSetSizeAlt
- HudBarSetAutoPos
- ... and more in the SUP HUD Bar Functions category.