getVisible

From RPTools Wiki
Revision as of 04:16, 8 March 2009 by Verisimilar (talk | contribs) (Applied Template:MacroFunction)
Jump to navigation Jump to search

getVisible() Function

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

Returns 1 if the visible to players flag is set on the Current Token otherwise returns 0. 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: isVis2Players = getVisible()]