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 .
×
May your rolls be merry + bright! 🎄
Create a free account

Tokenmod druid wild shape macro no longer updating images

Using old posts from this forum, 2018 or so, and TokenMod I created a macro for helping my players wild shape automatically.  It was working wonderfully.  Then during yesterday's game, the first time they tried to shift the image didn't change.  All the other appropriate attributes changed (HP, AC, vision etc).  The images are all in my library, they are attached to a rollable table.  Rolling on that table will show the images in chat.  Here's the beginning of the macro, any suggestions on how to fix it?  I've only included the base form and their big bear form.  There are another 15 or so in the table. &{template:npcaction} {{name=@{selected|token_name} }} {{rname=HoneychinShifter}} {{description=[Honeychin](!token-mod --set currentside|1 width|70 height|70 represents|@{Grenlys Honeychin Nackle|character_id} bar1_link|hp bar2_link|ac bar3_link|hp_temp name|Honeychin showname|yes light_radius|60 light_dimradius|0 light_multiplier|1 light_angle|360 --off light_otherplayers @{selected|token_id}) [Brown Bear](!token-mod --set currentside|2 width|140 height|140 represents|@{Honeychin Bear|character_id} bar1_link|hp bar2_link|npc_ac bar3_link|hp_temp name|'Honeychin Bear' showname|yes light_radius|60 light_dimradius|0 light_multiplier|1 light_angle|360 --off light_otherplayers @{selected|token_id})
LongStrider said: Using old posts from this forum, 2018 or so, and TokenMod I created a macro for helping my players wild shape automatically.  It was working wonderfully.  Then during yesterday's game, the first time they tried to shift the image didn't change.  All the other appropriate attributes changed (HP, AC, vision etc).  The images are all in my library, they are attached to a rollable table.  Rolling on that table will show the images in chat.  Here's the beginning of the macro, any suggestions on how to fix it?  I've only included the base form and their big bear form.  There are another 15 or so in the table. &{template:npcaction} {{name=@{selected|token_name} }} {{rname=HoneychinShifter}} {{description=[Honeychin](!token-mod --set currentside|1 width|70 height|70 represents|@{Grenlys Honeychin Nackle|character_id} bar1_link|hp bar2_link|ac bar3_link|hp_temp name|Honeychin showname|yes light_radius|60 light_dimradius|0 light_multiplier|1 light_angle|360 --off light_otherplayers @{selected|token_id}) [Brown Bear](!token-mod --set currentside|2 width|140 height|140 represents|@{Honeychin Bear|character_id} bar1_link|hp bar2_link|npc_ac bar3_link|hp_temp name|'Honeychin Bear' showname|yes light_radius|60 light_dimradius|0 light_multiplier|1 light_angle|360 --off light_otherplayers @{selected|token_id}) this might be a copy past error but one thing i noticed is your description is missing the }} at the end.
If the token was created before all of the images were assigned to the table, that could be the problem.  The table needs to be complete before creating the token.  And, if you add an image to the table later, you need to create anew token after doing so.  Then assign all attributes to the token like health bars, vision and assigning it to represent the correct character sheet.  Then it needs to be re-saved on the character sheet as the default.
1588633283

Edited 1588633303
The Aaron
Roll20 Production Team
API Scripter
You're missing the --ids so the @{selected|token_id} is not going to do anything.  If they didn't have their token selected, it wouldn't do anything.  That would especially be true if you were using @{target} in the same command anywhere..  Try this in chat and see if it works: !token-mod {{ --set currentside|1 width|70 height|70 represents|@{Grenlys Honeychin Nackle|character_id} bar1_link|hp bar2_link|ac bar3_link|hp_temp name|Honeychin showname|yes light_radius|60 light_dimradius|0 light_multiplier|1 light_angle|360 --off light_otherplayers --ids @{selected|token_id} }} be sure you have a token selected.
Mark, Yes I know.  I only copied the first two shapes not the next 15, so the closing formatting wasn't included. Patrick, I created the all of the base tokens using art explicitly uploaded to my library, then created the rollable table & macro then created a new token after that.  When I add new shapes, I'll make sure to recreate the token. Aaron's addition worked, once I figured out how this broke my formatting to make it look nice again. I'm still confused as to why it would have worked two weeks ago, but not last week, but it's working now.  Thank you all for your replies!