isBarVisible: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Unifying Current Token red link.) |
m (Just expanded the functionality a bit.) |
||
Line 4: | Line 4: | ||
|version=1.3b46 | |version=1.3b46 | ||
|description= | |description= | ||
Returns 1 if the [[Token:bar|Token Bar]] on the [[Current Token]] is visible or 0 if it is not. | Returns 1 if the [[Token:bar|Token Bar]] specified by "name" on the [[Current Token]] is visible, or 0 if it is not. | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
isBarVisible() | isBarVisible(name) | ||
</source> | </source> | ||
}} | }} |
Revision as of 02:40, 30 May 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 specified by "name" on the Current Token is visible, or 0 if it is not.
Usage
isBarVisible(name)
Needs Clarification:
What is the syntax if the token has more than one bar visible? Will this return 1
if any bar is visible?