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

Token Action Maker suggestion/request

1640748823

Edited 1640748926
I really like this mod, and is works great, though there is one feature I'd love to see added. Whenever !ta is used to generate tokens, it uses the character's url in the macro like:  %{-Mn7qGV2twWdIkK5JIBN|repeating_npcaction_-MlKluClg1r46Oj-kecO_npc_action} As said this works wonderfully for my closed game I run, however I also am in a westmarch game, where character sheets are exported to other DMs who are hosting, many of them not being pro members. Since the new game the macro does not have access to the character sheet found at "-Mn7qGV2twWdIkK5JIBN" the macro breaks. Would there be any way of having an option that can be used to make the macro use the character's name rather then the url when generating the macro? could be something like !ta --exportable, so that it would keep what we have now as the default, but adding --exportable would use the described suggestion?
1640763322
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Happily, that option already exists, and for just that reason: name  Normally, Token Actions are created using the character_id. They will still function even if the character is renamed. However this is not always desirable. If a character is moved to a new game via the Character Vault, it will receive a new character_id, and the token actions will not function. If you intend to move the character, use the "name" argument in the string and it will call the token actions by name. Full list of options are in the official feedback thread .
keithcurtis said: Happily, that option already exists, and for just that reason: name  Normally, Token Actions are created using the character_id. They will still function even if the character is renamed. However this is not always desirable. If a character is moved to a new game via the Character Vault, it will receive a new character_id, and the token actions will not function. If you intend to move the character, use the "name" argument in the string and it will call the token actions by name. Full list of options are in the official feedback thread . Thanks for the reply, feel kinda dumb now not noticing that. Is there any way we can get an argument to have the buttons sorted with !ta? it would probably need to add a number in front of each macro name or something, since the buttons are always in alphabetical order. Perhaps if it sorts them in the same order as the the command you use to make the macros, like "!ta init attacks spells checks saves name sorted" would arrange numbers in front of the names in that order. So if someone preferred a different order, all they would need to do would be put them in the order they want them to be sorted in.
1640797122
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Another "easy fix": that functionality exists in Roll20 itself. :) There is an option to sort token actions alphabetically in the settings tab. If you turn that off, they will display in the order they are on the sheet. Users can use the built-in ordering controls on the A&A tab to put their Token Actions in whatever order they desire.