getLayer: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Function getLayer==
==Function getLayer==


Returns the [[Map:map layer|map layer]] that the current [[Token:token|token]] is on.
Returns the [[Map:map layer|map layer]] that the [[Token:Current Token|Current Token]] is on.
The [[Map:map layer|map layer]] is one of:
The [[Map:map layer|map layer]] is one of:
* TOKEN
* TOKEN

Revision as of 12:56, 13 December 2008

Function getLayer

Returns the map layer that the Current Token is on. The map layer is one of:

  • TOKEN
  • BACKGROUND
  • GM
  • OBJECT

Usage

[h: layerName = getLayer()]