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 .
×

How to share spell asset to my players

Hi all, I'm new to roll20 so sorry if it's a easy one. I know how to share compendium, but, I just bought spell asset for my players, how can I share them with my players ? Thanks
1661912990
Gauss
Forum Champion
Mathieu G. said: Hi all, I'm new to roll20 so sorry if it's a easy one. I know how to share compendium, but, I just bought spell asset for my players, how can I share them with my players ? Thanks What is the spell asset?
1661914465
The Aaron
Roll20 Production Team
API Scripter
Assuming you're taking about having a fireball image players can drop on the table top at the right place with the right scale, then: drop the image on the table top scale appropriately create a character named Fireball set controlled by to be all players and in all player journals set the image to represent the fireball character set the image as the default token (optional) place the character in a spell tokens folder Now players can just drag the character onto the tabletop to place a fireball. Repeat for other spell effects. 
If you want to go WAY extra do the above The Aaron has said then: Get a Pro Subscription to be able to use APIs Get the SpawnDefualtToken API Write macro to spawn e.g. Fireball and give your players access to use it Write a macro that creates a button that calls the above macro Paste it in your player/s Fireball spell description Now when that player clicks the fireball spell there is a button to bring it out to the map. I did this because my spell assets folder eventually got too big and found the table was losing time while players searched for spell tokens. Helps me GMing to do this in advance for enemies as well.
1662221827

Edited 1662221878
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Or this method: Video of Macro in action. The two scripts I use in this macro are  Token-Mod , and SimpleSound The bulk of the automation is handled by the following API commands in an API button: [Fireball](!splay Fireball Spell by Daniel Warneke !token-mod --order toback !token-mod --set currentside|2 !token-mod --set width|560 height|560) To revert to the target face, I use this button: [Target](!token-mod --set currentside|1 !token-mod --set width|140 height|140 !token-mod --order tofront) The target face should be a 2x2 icon, to make it easy to snap so that the spells are centered on an intersection instead of a square center. I placed the spell effect images in a rollable table, and created a token from them. I use Token-Mod to swap the faces and properly size them and Roll20AM to play an appropriate sound effect. I also tell Token-Mod to send the effect to the back, so that the affected characters are easy to identify. When I hit the API button to revert back to the targeting icon, it pops it up to the front, so that it can be easily moved or deleted. I'm pretty happy with it. Note that because the API cannot control Marketplace images, all effect images must be uploaded to your own user library. Here is an example of a  Chat Menu  that would hold the Buttons for each spell. To keep it short, there are only two sample spells, plus the first button, which reverts the target. : /w gm &{template:npcaction} {{rname=Spells}} {{description=[Target](!token-mod --set currentside|1 !token-mod --set width|140 height|140 !token-mod --order tofront) [Fireball](!splay Fireball Spell by Daniel Warneke !token-mod --order toback !token-mod --set currentside|2 !token-mod --set width|560 height|560) [Tentacles](!splay Spell 1 !token-mod --order toback !token-mod --set currentside|3 !token-mod --set width|280 height|280)}} Map is Ruins of Trostenhall by HeroicMaps Tokens (except for the Skeleton) and Spell Effects are mine Sound Effects from Incomptech through Roll20 Jukebox