HudBarSetVisible

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 <visible> value of UI Element of Bar.

Syntax

[help]
(success:int) HudBarSetVisible barName:string iElement:int iVisible:int 

Or:

(success:int) HBSetVisible barName:string iElement:int iVisible:int

Example

HudBarSetVisible "BarName" 0 1

Will show Meter of specified Bar.

HudBarSetVisible "BarName" 0 0

Will hide Meter of specified Bar.

Elements

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

Notes

  • If you're looking to temporarily hide bar it's better to use HudBarShowBar because with that command Bar will not process value calculation.
  • Use this command when you want to hide particular elements of UI bar.

See Also