setBarVisible

From RPTools Wiki
Revision as of 21:30, 4 April 2009 by Verisimilar (talk | contribs) (Unifying Current Token red link.)
Jump to navigation Jump to search

setBarVisible() Function

Introduced in version 1.3b46
Sets if the specified bar for the Current Token is visible or not. If the value is non zero then the bar is visible, if it is 0 it is not visible.

Usage

setBarVisible(name, value)

Examples

Make "health" bar for the Current Token visible.
[h: setBarVisible("health", 1)]

Hide "health" bar for the Current Token.

[h: setBarVisible("health", 0)]