getOwnerOnlyVisible: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page GetOwnerOnlyVisible to getOwnerOnlyVisible: Converting page titles to lowercase)
m (Text replacement - "source>" to "syntaxhighlight>")
Line 9: Line 9:
<source lang="mtmacro" line>
<source lang="mtmacro" line>
getOwnerOnlyVisible()
getOwnerOnlyVisible()
</source>
</syntaxhighlight>
<source lang="mtmacro" line>
<source lang="mtmacro" line>
getOwnerOnlyVisible(id)
getOwnerOnlyVisible(id)
</source>
</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}} }}

Revision as of 18:40, 14 March 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
Returns true(1) if the Visible to Owners Only flag is set on a Token otherwise returns false(0).

Usage

<source lang="mtmacro" line> getOwnerOnlyVisible() </syntaxhighlight> <source lang="mtmacro" line> getOwnerOnlyVisible(id) </syntaxhighlight> Parameter

  • id - The token id of token that has its player visibility checked, defaults to the Current Token.

     Note: This parameter can only be used in a Trusted Macro


See Also