setTokenImage: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Applied Template:MacroFunction) |
Verisimilar (talk | contribs) m (Macros:Functions:setTokenImage moved to setTokenImage) |
(No difference)
|
Revision as of 04:41, 9 March 2009
setTokenImage() Function
Sets the image for the for the Current Token. The image can come from several sources. It can come from a function that returns an asset id such as tblImage() or getTokenImage(). Or it could come from a Image Token.
Usage
[h: = setTokenImage(assetId)]
[h: = setTokenImage(tokenImageName)]
Example
[h: setTokenImage(tblImage("elfImages", 1))]
[h: setTokenImage("image:Elf-Dead")]