setVisible
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
setVisible() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.3b40
Sets the visible to players flag is set on the Current Token if the value passed in is non zero, otherwise resets it. The visible to players flag has two meanings, on a normal Token players will only be able to see the Token if it is set (when all other things like Fog of War etc are taken into account). If it is a LibToken then it determines if players can call Macros using [macro(...): ...] .
Usage
setVisible(visible)
Parameter
visible
- The state of visibility,true
(1
) orfalse
(0
).