setLayer: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added version.)
Line 2: Line 2:
|name=setLayer
|name=setLayer
|trusted=true
|trusted=true
|version=1.3b48
|description
|description
Sets the [[Map:map layer|map layer]] that the [[Token:Current Token|Current Token]] is on.
Sets the [[Map:map layer|map layer]] that the [[Token:Current Token|Current Token]] is on.
Line 12: Line 13:
|usage=
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: setLayer(layerName)]
setLayer(layerName)
</source>
</source>
}}
}}
[[Category:Token Function]]
[[Category:Token Function]]

Revision as of 12:11, 10 March 2009

setLayer() Function

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

Introduced in version 1.3b48

Usage

setLayer(layerName)