Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Create token from journal (take 2)

So just over a year ago I asked:&nbsp;Is it possible to use the API to duplicate dragging a character journal entry to the battlemap? At the time, it was not. &nbsp;However, Aaron pointed out that read-only access to the "_defaulttoken" properly was coming in the Update of Holding. &nbsp;(See thread:&nbsp; <a href="https://app.roll20.net/forum/post/1577383/create-t" rel="nofollow">https://app.roll20.net/forum/post/1577383/create-t</a>... So now that it should be available, has anyone written a script to do so? &nbsp;It'd be pretty awesome to have a function to summon the default token of a character in the journal at coords X, Y. &nbsp;I've looked, but haven't found one. If not, I'll look into writing one. &nbsp;But anything I write will be ugly, inefficient, and buggy.
1459557945
The Aaron
Pro
API Scripter
It is partially possible with the _defaulttoken. The API&nbsp;still can only create images in a user library, so it would only work for those characters who have a default token that usr a marketplace image. You would also need to know which page to put it on. Riley stated at GenCon last year that API creation of market assets would be coming. When that happens, there are a bunch of things we can do. :)
Thanks again for the info!