set-actor-art
Sets an actor's portrait and prototype token art from a data-relative image path. Pass an optional animated video path for the token while keeping a still portrait.
Instructions
Composition. Set an actor's portrait image, and by default its prototype token art too, from a Data-relative path. The portrait (actor.img) must be a STILL image; pass tokenImagePath to give the prototype TOKEN an animated video (.webm/.mp4) while keeping a still portrait (the JB2A-effect pattern). GM-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imagePath | Yes | Data-relative path to the PORTRAIT image. Must be a STILL image — actor.img rejects video. Also used for the token texture unless tokenImagePath is given. | |
| applyToToken | No | Also set the prototype token texture (default true). | |
| tokenImagePath | No | Optional Data-relative path for the prototype TOKEN texture, which (unlike the portrait) accepts an animated VIDEO (.webm/.mp4/.m4v/.ogg) — e.g. a JB2A effect. Defaults to imagePath. | |
| actorIdentifier | Yes | Actor id or exact name. |