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 Edits

1586274120
Eli N.
Pro
Compendium Curator
So who can edit a token action? Is it only players with control/edit permissions or another with the GM tag or both? 
1586274290
The Aaron
Roll20 Production Team
API Scripter
Token Actions can come from two sources and the answer is different for each: 1) Character Abilities: Whomever can edit a character can edit Abilities on a Character, including Abilities that are Token Actions. 2) Macros: only the author of a Macro can see or edit its contents, even ones that are shared or Token Actions.
1586274752
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I only recently learned #2. It's not obvious.
1586276532

Edited 1586276634
Rarely done, but a Token Action can also come from code in the character sheet, which cannot be edited by either player or GM. If the GM is a Pro user they can edit the sheet's HTML as a custom character sheet.
1586276628
The Aaron
Roll20 Production Team
API Scripter
Is that just as a special case of an Ability, or is there something in Character Sheets that adds TokenActions without adding Abilities?
I can't find the wiki reference, but it's a special class applied to buttons: <button class="tokenaction" type="roll" name="attr_initiative" title="initiative" value="@{initmacro}"></button>
1586277704
GiGs
Pro
Sheet Author
API Scripter
As Rabulias points out, its a special feature of character sheets, and it doesnt add Abilities. Sheet Authors (that are aware of this feature) tend not to use it because users have no control of them: they cant edit them and they cant disable them.
1586278709
The Aaron
Roll20 Production Team
API Scripter
Ah, good info, thanks!
1586303477
Eli N.
Pro
Compendium Curator
It was a character ability that I was wondering . Thanks everyone!
character abilities can, to some extent