getTokenHandout: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Unifying Current Token red link.)
Line 2: Line 2:
|name=getTokenHandout
|name=getTokenHandout
|description=
|description=
Returns the [[Asset ID|asset id]] of the handout image for the for the [[Token:Current Token|Current Token]].
Returns the [[Asset ID|asset id]] of the handout image for the for the [[Current Token]].


|usage=
|usage=
Line 10: Line 10:


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

Revision as of 21:37, 4 April 2009

getTokenHandout() Function

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

Usage

[h: assetId = getTokenHandout(size)]

Example

To display the image for the current Token.
<img src='[r:getTokenHandout()]'></img>