From RPTools WikiJump to navigationJump to search
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.3b48
Sets the size of a Token with one of the defined sizes according to each Grid Type. The sizes can be found on the Token Size page. "Free" or "Native" are also valid values.
setSize(size) setSize(size, id) setSize(size, id, mapname)
size- A Token Size to set the token to. Can be "Free" or "Native" as well.
id- The token
idof the token which will have its Token Size set. Defaults to the Current Token.
mapname- The name of the map to find the token. Defaults to the current map.
To set the size of the current token to
To set the size of the current token to whatever string is stored in the macro variable mySize:
[h: mySize = "Large"] [h: setSize(mySize)]
- 1.3b51 - Added
- 1.5.4 - Added