isVisible
isVisible() Function
• Introduced in version 1.3b69
check whether a point on the map is visible from a token or not.
It returns 1 is the token is visible, 0 otherwise. This vision is based off of the impersonated token.
Usage
isVisible(x,y)
isVisible(x,y,id)
Parameter
x
- Then tokens x coordinate. Always in map units, not grid .y
- Then tokens x coordinate. Always in map units, not grid .id
- The check for visibility is performed from tokenid
.Note: This parameter can only be used in a Trusted Macro.