getVisible: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function getVisible== {{TrustedOnlyFunction}} Returns 1 if the Token:visible to players flag is set on the current Token:token otherwise returns 0. ===Usage=== <source lang="m...)
 
No edit summary
Line 1: Line 1:
==Function getVisible==
==Function getVisible==
{{TrustedOnlyFunction}}
{{TrustedOnlyFunction}}
Returns 1 if the [[Token:visible to players|visible to players]] flag is set on the current [[Token:token|token]] otherwise returns 0.
Returns 1 if the [[Token:visible to players|visible to players]] flag is set on the [[Token:Current Token|Current Token]] otherwise returns 0.


===Usage===
===Usage===

Revision as of 13:13, 13 December 2008

Function getVisible

This function can only be called from a trusted macro

Returns 1 if the visible to players flag is set on the Current Token otherwise returns 0.

Usage

[h: isVis2Players = getVisible()]