setTokenImage

From RPTools Wiki
Revision as of 15:41, 13 December 2008 by Craig (talk | contribs) (New page: ==Function setTokenImage== 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 [[ass...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function setTokenImage

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)]


Examples

[h: setTokenImage(tblImage("elfImages", 1))]
[h: setTokenImage("image:Elf-Dead")]