User:Merkuri

From RPTools Wiki
Revision as of 19:45, 3 March 2009 by Merkuri (talk | contribs) (New page: Testing the MacroFunction template: {{MacroFunction |name=setBarVisible |description= Sets if the specified bar for the Current Token is visible or n...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Testing the MacroFunction template:


setBarVisible() Function

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

[h: 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)]