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

Resize token automaticly from rollable table? (can it be done)

1588085696

Edited 1588085728
(sorry for duplicating my earlier post, but i think the earlier was a bit confusing) I'm trying to set up spell effects for my players, so that they can take a token from a rollable table and use it for spell effects. What i seek is the ability to make so that when the rollable tokens different sides are shown, they will be so in the size accordint to the spells they represent. (e.g. flaming sphere 1x1 square, darkness 3x3 squares, web 4x4 squares and so on). I've been trying to get WildShapeResizer to work for a couple of days now, but with no luck. I've also been trying to figure out the old TokenResizer <a href="https://app.roll20.net/forum/post/1522903/slug%7D" rel="nofollow">https://app.roll20.net/forum/post/1522903/slug%7D</a> , but it doesn't seem to work either. Does anyone know a solution to this problem, or am i just to face facts and resize the tokens manually every?
1588086736
The Aaron
Roll20 Production Team
API Scripter
I think a lot of people create an ability on the character the spell template represents, and have a dropdown with the available spells, which passes commands to TokenMod to change to the right side and adjust the size.&nbsp;
1588089914

Edited 1588089926
You know what. This is a damn fine idea. I might reuse one of the old macros i stringed together a couple of months back! Thanks for the idea
1588089960
The Aaron
Roll20 Production Team
API Scripter
No problem! =D
1588244820

Edited 1588244907
The Aaron said: I think a lot of people create an ability on the character the spell template represents, and have a dropdown with the available spells, which passes commands to TokenMod to change to the right side and adjust the size.&nbsp; Hey mate. Just a follow up! I managed to make it work with TokenMod as you suggested, with the old setup i used. Now I'm thinking if it would be possible to include token lighting in the macro? I also use this setup for my Wildshapes, and it would be really rad if it could automaticly set the sight to darkvision (emit light) according to the creature the druid transforms into. Would that be possible to do within the macro I'm using, or do i need to do it manually every time? !token-mod {{ &nbsp; --set &nbsp;&nbsp;&nbsp; ?{Choose Form|Magic,currentside#1 represents#@{Spell Token4|character_id} width#[[70]] height#[[70]] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |Fog Cloud,currentside#2 represents#@{Spell Token4|character_id} width#[[8*70]] height#[[8*70]] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |Water Wall,currentside#3 represents#@{Spell Token4|character_id} width#[[6*70]] height#[[70]] &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |Water Wall (Ring),currentside#4 represents#@{Spell Token4|character_id} width#[[4*70]] height#[[4*70]] &nbsp;&nbsp;&nbsp; } &nbsp;&nbsp;&nbsp; bar1_link|None bar3_link|hp &nbsp;&nbsp;&nbsp; bar2_link|ac &nbsp;&nbsp;&nbsp; name|"Spell Token" &nbsp;&nbsp;&nbsp; showname|no }}
1588251094
The Aaron
Roll20 Production Team
API Scripter
You can do it in that macro, just add the various light properties to each choice.&nbsp;
1588253156

Edited 1588254006
Awesome! could do it by adding: light_radius#40 light_dimradius#20 light_hassight#yes light_angle#360 light_otherplayers#yes Again thanks a bunch for the answer! =D
1588255877
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Here's an example of the code I use, and a video of it in action.