getTokenImage: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
===Usage===
===Usage===
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: assetId = getTokenImage()]
[h: assetId = getTokenImage(size)]
</source>
</source>



Revision as of 18:19, 8 January 2009

Function getTokenImage

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

Usage

[h: assetId = getTokenImage(size)]


Examples

To display the image for the current token.

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