getTokenImage: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function getTokenImage== Returns the asset id for the for the current Token:token. ===Usage=== <source lang="mtmacro" line> [h: assetId = getTokenImage()] </source> ===Examp...)
 
No edit summary
Line 1: Line 1:
==Function getTokenImage==
==Function getTokenImage==


Returns the [[asset id]] for the for the current [[Token:token|token]].
Returns the [[asset id]] for the for the [[Token:Current Token|Current Token]].


===Usage===
===Usage===

Revision as of 13:13, 13 December 2008

Function getTokenImage

Returns the asset id for the for the Current Token.

Usage

[h: assetId = getTokenImage()]


Examples

To display the image for the current token.

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