RPTools

Personal tools
From MapToolDoc

getTokenImage

getTokenImage() Function

Returns the asset id of the image for the for the Current Token.

Usage

  1. [h: assetId = getTokenImage(size)]

Examples

To display the image for the current token.

  1. <img src='[r:getTokenImage()]'></img>

To get the image of any token using its id and the token roll option.

  1. [h, token(tokenId): imgAsset = getTokenImage()]