HudBarSetSizeAlt

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Sets the Real texture size for specified UI element.

Syntax

[help]
(success:int) HudBarSetSizeAlt barName:string iElement:int fWidth:float fHeight:float 

Or:

(success:int) HBSetSizeAlt barName:string iElement:int fWidth:float fHeight:float

Example

HudBarSetSize "BarName" 0 300 200

Will set Meter witdh to 300 and height to 200

HudBarSetSize "BarName" 1 300 200

Will set Frame witdh to 300 and height to 200

Elements

0 - Meter;
1 - Frame;
3 - ImageEx;

Notes

  • Real texture size if used for HudBarSetAutoPos and for use of meter with <zoom> trait of 0.

See Also