Wowpedia
Advertisement
Wowpedia
240,483
pages

Sets the current value of the status bar.

myStatusBar:SetValue(value);

Arguments

value 
Number - The current progress of the status bar; must be between the statusbar's minimum and maximum values.

Details

when :SetValue is called the statusbar will crop and redraw the texture that is previous set with :SetStatusBarTexture(), it is possible to use :SetTextureCoords on a StatusBar Texture but due to the behavior of :SetValue the Texture Coords will be reset to texture size and then cropped by :SetValue

Advertisement