setOwnerOnlyVisible: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: {{stub|Examples of usage.}} {{MacroFunction |name=setOwnerOnlyVisible |trusted=true |version=1.3b74 |description= Sets the Visible to Owners Only flag on a Token if the value pass...)
 
No edit summary
Line 1: Line 1:
{{stub|Examples of usage.}}
{{stub|Examples of usage.}}
{{MacroFunction
{{MacroFunction
Line 10: Line 9:
|usage=
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
ssetOwnerOnlyVisible(visible)
setOwnerOnlyVisible(visible)
</source>
</source>
<source lang="mtmacro" line>
<source lang="mtmacro" line>

Revision as of 21:34, 4 October 2010

 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.

setOwnerOnlyVisible() Function

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

Introduced in version 1.3b74
Sets the Visible to Owners Only flag on a Token if the value passed in is non-zero(true(1)), otherwise resets it to false(0).

Usage

setOwnerOnlyVisible(visible)
setOwnerOnlyVisiblee(visible, id)

Parameters

  • visible - The state of owner only visibility, true(1) or false(0).
  • id - The token id of the token which has its owner only visibility set, defaults to the Current Token.


See Also

Version Changes

  • 1.3b51 - Added id parameter option.