#serbandr - tokenizer

1 messages · Page 1 of 1 (latest)

torn scroll
#

HI, I thought you could use tokenizeSceneToken but this doesn't seem to work quite the way I intended, as it is actually expecting the data from the sheet of a token on the scene.

#

I think you can spoof this by:

const dragon = canvas.scene.tokens.find(t => t.name === "Adult Black Dragon");
window.Tokenizer.tokenizeSceneToken({ token: dragon, actor: dragon.actor });