moveTokenToMap: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Initial write-up.) |
Verisimilar (talk | contribs) m (Corrected See Also link.) |
||
Line 19: | Line 19: | ||
|also= | |also= | ||
{{func| | {{func|moveTokenFromMap}} | ||
}} | }} |
Revision as of 20:12, 13 April 2009
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: Examples of usage, and clearer description.
moveTokenToMap() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.3b54
Moves tokens from the current map to a specified map.
Usage
moveTokenToMap(id, map, x, y, z)
Parameters
id
- The tokenid
or a JSON Array of tokenid
s of the token/s to move.map
- A string containing the name of the map that the token is moved to.x
- TheX
coordinate of the map that the token should be moved to.y
- TheY
coordinate of the map that the token should be moved to.z
- The z-order that the token should have after being moved.