HudBarCreate

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Creates HUD Bar with specified name.

Syntax

[help]
(success:bool) HudBarCreate barName:string xPos:float yPos:float Type:int 

Or:

(success:bool) HBCreate barName:string xPos:float yPos:float Type:int

Example

HudBarCreate "BarName" 100 100 0  

Will create Bar named "MyBar" with screen coordinates X::100,Y:100 with the type of 0.

Notes

  • Bars are hidden by default after creation. To show them, use HudBarShowBar.
  • Vertical bars will work "upside-down" by default. To make a standart vertical meter you have to rotate elements of the bar by 180 degrees.

See Also