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

Using Token Mod to change the side of a multisided token.-

My aim was to create multi-sided tokens for the player characters with the first side being the character token and the second side being an invisible token. I created a macro Spell-Invisibility as a token action, it asked if you wanted to show the token or not, If No then it would change the token to side 2 and set an aura so the player and GM could see where the character is, but not the players. The Macro ?{Show Token|Yes,!token-mod --set currentside|1 aura2_radius# |No,!token-mod --set currentside|2 aura2_color|59e594 aura2_radius#0} When I wrote this last week it worked no problem.  Today, it doesn't work as expected. Selecting No changes the token side to 2 (invisible) and sets the aura. Selecting Yes hides the aura, but does not change the token side. With the invisible token selected typing  !token-mod --set currentside|1  in to the chat prompt did nothing, whereas, with the character token selected  !token-mod --set currentside|2 changed the side to the invisible one. Can anyone see what it going on here and why it isb't working? or is it just my system that's gone Kaput! Many thanks
1693671809

Edited 1693671944
Resolved: It works so long as the character token is not a marketplace token. You have to have imported your own token!! After hours of struggling with the problem and posting the question above, I came up with the solution within minutes of posting!!!! You can right click and change the token side for a market place token, but for some reason token-mod doesn't work with them. (This is not a criticism of token-mod i think it is a fantastic script)
1693673050

Edited 1693673166
vÍnce
Pro
Sheet Author
Not sure, but I think this is still a roll20 limitation. ;-( suggestion(8+ years) <a href="https://app.roll20.net/forum/post/1749220/api-tags-api-access-to-image-tags/?pagenum=1" rel="nofollow">https://app.roll20.net/forum/post/1749220/api-tags-api-access-to-image-tags/?pagenum=1</a> Looks like roll20 was considering adding api access to "purchased" content, but that was over 3 years ago...
1693676821
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
This is indeed a Roll20 limitation. The API cannot manipulate (place on the VTT) marketplace images.
This is a very cool use of rollable tables and token-mod.&nbsp; I dig it, and am definitely going to use it!