HudBarSetIndent

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Sets indent for particular element.

Syntax

[help]
(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


See Also