isBarVisible: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
m (Added version.)
Line 2: Line 2:
{{MacroFunction
{{MacroFunction
|name=isBarVisible
|name=isBarVisible
|version=1.3b46
|description=
|description=
Returns 1 if the [[Token:bar|Token Bar]] on the [[Token:Current Token|Current Token]] is visible or 0 if it is not.
Returns 1 if the [[Token:bar|Token Bar]] on the [[Token:Current Token|Current Token]] is visible or 0 if it is not.
Line 7: Line 8:
|usage=
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: vis = isBarVisible()]
isBarVisible()
</source>
</source>
}}
}}
Line 14: Line 15:
}}
}}
[[Category:Bar Function]]
[[Category:Bar Function]]
[[Category:Token Function]]

Revision as of 11:22, 10 March 2009

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

isBarVisible() Function

Introduced in version 1.3b46
Returns 1 if the Token Bar on the Current Token is visible or 0 if it is not.

Usage

isBarVisible()

Needs Clarification:
What is the syntax if the token has more than one bar visible? Will this return 1 if any bar is visible?