HudBarSetSize

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Sets the UI Texture size for HUD Bar element.

Syntax

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

Or:

(success:int) HBSetSize 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

  • If you specify <zoom> trait to -1 - image will be stretched by size specified in this function.

See Also