Creation/Dev/Script/Client/GuiProgressCtrl

From Graal Bible
Revision as of 00:55, 16 February 2010 by Pooper200000 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Inherits GuiControl.

Description

Guicontrol progress.png

This displays a simple border and fills it with a rectangle depending on the progress variable (0 is empty, 1 is full).


Variables

progress - float


Example

new GuiProgressCtrl("Test_Progress") {
  profile = GuiBlueProgressProfile;
  x = 10;
  y = 10;
  width = 160;
  height = 20;
  progress = 0.3;
}