From RPTools WikiJump to navigationJump to search
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.
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.
moveTokenToMap(id, map) moveTokenToMap(id, map, x) moveTokenToMap(id, map, x, y) moveTokenToMap(id, map, x, y, z)
id- The token
idor a JSON Array of token
ids of the token/s to move.
map- A string containing the name of the map that the token is moved to.
Xcoordinate of the map that the token should be moved to. Default to 0.
Ycoordinate of the map that the token should be moved to. Default to 0.
z- The z-order that the token should have after being moved. Defaults to the largest of the map.