User:Merkuri: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: Testing the MacroFunction template: {{MacroFunction |name=setBarVisible |description= Sets if the specified bar for the Current Token is visible or n...)
 
(Replacing page with 'Nothing to see here. :)')
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Testing the MacroFunction template:
Nothing to see here. :)
 
{{MacroFunction
|name=setBarVisible
|description=
Sets if the specified [[Token:bar|bar]] for the [[Token:Current Token|Current Token]] is visible or not. If the value is non zero then the [[Token:bar|bar]] is visible, if it is 0 it is not visible.
 
|usage=
<source lang="mtmacro" line>
[h: setBarVisible(name, value)]
</source>
 
|examples=
Make "health" [[Token:bar|bar]] for the [[Token:Current Token|Current Token]] visible.
<source lang="mtmacro" line>
[h: setBarVisible("health", 1)]
</source>
 
Hide "health" [[Token:bar|bar]] for the [[Token:Current Token|Current Token]].
<source lang="mtmacro" line>
[h: setBarVisible("health", 0)]
</source>
}}

Latest revision as of 16:08, 7 March 2009

Nothing to see here. :)