WoW:API StatusBar GetMinMaxValues: Difference between revisions

m
Move page script moved page API StatusBar GetMinMaxValues to WoW:API StatusBar GetMinMaxValues without leaving a redirect
({{widgetmethod}})
m (Move page script moved page API StatusBar GetMinMaxValues to WoW:API StatusBar GetMinMaxValues without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}}
{{stub/api}}


Returns the minimum and maximum values of a status bar.
statusMin, statusMax = StatusBar:GetMinMaxValues()


''Very old info:''
== Arguments ==
None


This appears to return only the minimum value at this time (int ver 4216). At the very least, it only returns one number.
== Returns ==
 
:statusMin, statusMax
 
:; statusMin : Number - The minimum value of the status bar
In terms of the main casting status bar, a better way to access these values is:
:; statusMax : Number - The maximum value of the status bar
minimum = getglobal("CastingBarFrame").startTime;
maximum = getglobal("CastingBarFrame").maxValue;
 
-Moof
Anonymous user