You are viewing an older version of the site. Click here to view
the latest version of this page. (This may be a dead link, if so, try the root page of the docs
here.)
== update_bar ==
id, percent
id, title |- ! scope="row" | Throws | [[../objects/ms.lang.IllegalArgumentException|ms.lang.IllegalArgumentException]]
[[../objects/ms.lang.CastException|ms.lang.CastException]]
[[../objects/ms.lang.FormatException|ms.lang.FormatException]]
[[../objects/ms.lang.NotFoundException|ms.lang.NotFoundException]]
[[../objects/ms.lang.RangeException|ms.lang.RangeException]] |- ! scope="row" | Since | 3.3.2 |- ! scope="row" | Restricted |
Updates the state for the specified boss bar. See create_bar() for available option keys and values for the optionsArray. If the second argument is a string, it'll use it to update the title. If it's a double, it'll use it to update the percentage filled (0.0 - 1.0).
=== Vital Info ===
{| style="width: 40%;" cellspacing="1" cellpadding="1" border="1" class="wikitable"
|-
! scope="col" width="20%" |
! scope="col" width="80%" |
|-
! scope="row" | Name
| update_bar
|-
! scope="row" | Returns
| void
|-
! scope="row" | Usages
| id, optionsArray id, percent
id, title |- ! scope="row" | Throws | [[../objects/ms.lang.IllegalArgumentException|ms.lang.IllegalArgumentException]]
[[../objects/ms.lang.CastException|ms.lang.CastException]]
[[../objects/ms.lang.FormatException|ms.lang.FormatException]]
[[../objects/ms.lang.NotFoundException|ms.lang.NotFoundException]]
[[../objects/ms.lang.RangeException|ms.lang.RangeException]] |- ! scope="row" | Since | 3.3.2 |- ! scope="row" | Restricted |
Yes
|-
! scope="row" | Optimizations
| None
|}
=== Usages ===
update_bar(id, optionsArray)
update_bar(id, percent)
update_bar(id, title)=== Examples === Sorry, there are no examples for this function! :(
Find a bug in this page? Edit this page yourself, then submit a pull request. (Note this page is automatically generated from the documentation in the source code.)