HudBarSetAlpha

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Sets zoom value of UI Element of Bar.

Syntax

[help]
(success:int) HudBarSetAlpha barName:string iElement:int fAlphaValue:float 

Or:

(success:int) HBSetAlpha barName:string iElement:int fAlphaValue:float

Example

HudBarSetAlpha "BarName"  0 120

Wil set Meter alpha to 120 of specified bar.

Elements

0 - Meter;
1 - Frame;
3 - ImageEx;
10 - All elements

Notes

  • Alpha value is also used by Bars when they are vanishing and appearing. Using this command when bars are vanishing and appearing might leave them visible.

See Also