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 .
×
🍵 What is a cleric’s favorite hot drink? Divini-tea. 🍵
Create a free account

Is there a script that deletes a selected token from the screen?

I use this to bring up a token that a character has "Wild Shaped into": !Spawn{{ --name|HUNTER-LAND-Prometheus --qty|1 --size|1x1 --placement|surround }} Is there a way for me to script that the selected token that summoned the new one to be deleted off the screen? Thank you!
1768194859
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
You might want to ask in the ScriptCards thread . That sounds like the sort of thing it can do.
1768234168

Edited 1768242559
SC would do that, but as in love with SC as I am, the D&D 5eWildshape API by Angelo is just utterly beautiful for this, spawns in replacement token, takes original out, gives you a NPC character sheet and then undoes all of that when you revert. Multiple options for wild shapes? No problem. Strahd have multiple personalities? No problem
1768237877
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I should have read the actual problem more carefully. Yes, that's a much better script suggestion for this use. Thanks, Simon!
Thanks for the suggestion of the Wildshape API but it won't work for what I am doing. I need to use templates already in the Journal. If you know where I might find a !script that would do what I am looking for, please let me know. Otherwise thank you anyway! :)
1768288579

Edited 1768305206
Hi Barry, I'm not clear on why that wouldn't work, might be just a me thing. I set up a folder called Wildshapes and then move any characters/NPCs the desired token could shift into to that folder. Run the API and select the things the source token can change into and away we go. Strahd as an example, in my campaign I have the version as given in the book but I also made several other versions that he can be based on what the party has done in Barovia through the campaign. So there were 4 versions of him in the Journal.  Then setup as above and now I can Wildshape him into whatever shape fits when they meet him. Is that the sort of thing you mean?