setTokenPortrait
setTokenPortrait() Function
• Introduced in version 1.3b77
Sets the portrait image for the for the Current Token. The image can come from several sources. It can be an asset id (like from tblImage() orgetTokenImage().) or a Image Token.
Usage
setTokenPortrait(assetId)
setTokenPortrait(tokenImageName)
Image Token: A special token that contains an image that may be referenced by other macros.Token: A visual marker representing a character, monster, or NPCMacro: A series of text instructions used to automate processes in MapTool.