HudBarSetZoom

From GECK
Jump to: navigation, search
This article is incomplete. You can help by filling in any blank descriptions.
Further information might be found in a section of the discussion page. Please remove this message when no longer necessary.



A function added by the SUP NVSE Plugin.

Description

Sets zoom value of UI Element of Bar.

Syntax

[help]
(success:int) HudBarSetZoom barName:string iElement:int fZoomValue:float 

Or:

(success:int) HBSetZoom barName:string iElement:int fZoomValue:float

Example

HudBarSetZoom "Name" 1 -1

Will set Frame zoom trait to -1.

HudBarSetZoom "Name" 1 0

Will set Frame zoom trait to 0.

Elements

0 - Meter;
1 - Frame;
2 - Text(text size if affected only if JIP LN NVSE is loaded);
3 - ImageEx;
10 - All elements

Notes

  • Setting zoom to -1 will make texture strech according to it's specified size with HudBarSetSize

See Also