getOwnerOnlyVisible: Difference between revisions
Jump to navigation
Jump to search
Jfrazierjr (talk | contribs) (New page: {{stub|Examples of usage.}} {{MacroFunction |name=getOwnerOnlyVisible |version=1.3b74 |description= Returns {{true}} if the visible to owners only flag is ...) |
No edit summary |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
|version=1.3b74 | |version=1.3b74 | ||
|description= | |description= | ||
Returns {{true}} if the [[ | Returns {{true}} if the [[Introduction to Tokens|Visible to Owners Only]] flag is set on a [[Token]] otherwise returns {{false}}. | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
getOwnerOnlyVisible() | getOwnerOnlyVisible() | ||
</ | </syntaxhighlight> | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
getOwnerOnlyVisible(id) | getOwnerOnlyVisible(id) | ||
</ | </syntaxhighlight> | ||
'''Parameter''' | '''Parameter''' | ||
{{param|id|The token {{code|id}} of token that has its player visibility checked, defaults to the [[Current Token]]. {{TrustedParameter}} }} | {{param|id|The token {{code|id}} of token that has its player visibility checked, defaults to the [[Current Token]]. {{TrustedParameter}} }} | ||
|also= | |also= | ||
[[getVisible|getVisible()]] | [[getVisible|getVisible()]], [[setOwnerOnlyVisible|setOwnerOnlyVisible()]] | ||
}} | }} | ||
[[Category:Token Function]] | [[Category:Token Function]] |
Revision as of 18:37, 20 April 2023
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: Examples of usage.
getOwnerOnlyVisible() Function
• Introduced in version 1.3b74
Usage
getOwnerOnlyVisible()
getOwnerOnlyVisible(id)
Parameter
id
- The tokenid
of token that has its player visibility checked, defaults to the Current Token.Note: This parameter can only be used in a Trusted Macro.