getTokenImage: Difference between revisions
Jump to navigation
Jump to search
True Hitoare (talk | contribs) m (Reformatted usage to conform to more standard design) |
No edit summary |
||
Line 21: | Line 21: | ||
</source> | </source> | ||
|also= | |||
[[getImage|getImage]] | |||
}} | }} | ||
[[Category:Token Function]] | [[Category:Token Function]] |
Revision as of 12:33, 1 June 2019
getTokenImage() Function
Returns the asset id of the image for the for the Current Token.
Usage
getTokenImage()
getTokenImage(size)
Examples
To display the image for the current token.
<img src='[r:getTokenImage()]'></img>
To get the image of any token using its id and the token roll option.
[h, token(tokenId): imgAsset = getTokenImage()]