Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API StatusBar SetValue

Last wiki revision 2018-11-15

Sets the current value of the status bar. myStatusBar:SetValue(value);

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

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

Source

https://warcraft.wiki.gg/wiki/API_StatusBar_SetValue · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.