setTokenHeight

From RPTools Wiki
Revision as of 23:32, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page SetTokenHeight to setTokenHeight: Converting page titles to lowercase)
Jump to navigation Jump to search

setTokenHeight() Function

Introduced in version 1.3b91
Sets the token's image height in pixels (boundary size).

Usage

setTokenHeight(size, id)
setTokenHeight(size, id, mapname)

Parameters

  • size - grid size of the token
  • id - The token id of the token to set its height. Defaults to the Current Token.

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

  • mapname - The name of the map to find the token. Defaults to the current map.

Example

[r: setTokenHeight(300, "Dragon")]
[r: setTokenHeight(150, "Dragon")]

See Also

Version Changes

  • 1.5.4 - Added mapname parameter option.