getTokenHandout: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function getTokenHandout== Returns the asset id of the handout image for the for the Current Token. ===Usage=== <source lang="mtmacro" line> [h: assetId = g...)
 
No edit summary
Line 5: Line 5:
===Usage===
===Usage===
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: assetId = getTokenImage()]
[h: assetId = getTokenHandout(size)]
</source>
</source>


Line 12: Line 12:
To display the image for the current [[Token:token|token]].
To display the image for the current [[Token:token|token]].
<source lang="mtmacro" line>
<source lang="mtmacro" line>
<img src='[r:getTokenImage()]'></img>
<img src='[r:getTokenHandout()]'></img>
</source>
</source>

Revision as of 18:19, 8 January 2009

Function getTokenHandout

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

Usage

[h: assetId = getTokenHandout(size)]


Examples

To display the image for the current token.

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