User:Merkuri: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:
[h: setBarVisible("health", 0)]
[h: setBarVisible("health", 0)]
</source>
</source>
|versionChanges=
In version XYZ this worked a little differently.  Insert more details here.
}}
}}

Revision as of 02:54, 6 March 2009

Testing the MacroFunction template:


setBarVisible() Function

Introduced in version 1.3
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)]