Set the token image of an actor
actor-set-tokenSet an actor's prototype token image and optional portrait, token name, and dynamic ring. Specify actor by id or exact name, with ring color auto-set by disposition.
Instructions
Set an actor's prototype token image, and optionally its portrait, its token name and the dynamic token ring. With ring true the token image also becomes the subject inside the ring, and without ringColor the ring is coloured by disposition: hostile red, neutral blue, friendly green. The actor is found by id or exact name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ring | No | true switches the dynamic token ring on, false switches it off. Omit to leave it as it is. | |
| tokenImg | Yes | Path of the token image. | |
| ringColor | No | Ring colour as hex, e.g. "#e72124". Omit to colour by disposition. | |
| ringScale | No | Scale of the image inside the ring. Usually omit it and give the image a transparent margin instead. | |
| tokenName | No | Name of the prototype token. Without it, placed tokens keep the compendium name; usually pass the actor's name. | |
| portraitImg | No | Path of the portrait image, when it should change too. | |
| actorIdentifier | Yes | Id or exact name of the actor. |