isVisible

From RPTools Wiki
Revision as of 18:57, 13 June 2010 by Coveredinfish (talk | contribs) (new entry)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 token id.

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