setVisible: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
===Usage=== | ===Usage=== | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h: | [h: getVisible(vis)] | ||
</source> | </source> |
Revision as of 09:04, 14 December 2008
Function getVisible
This function can only be called from a trusted macro
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
[h: getVisible(vis)]