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 .
×

Token Actions for Mooks

1522273975

Edited 1522274026
So, firstly I'd just like to say that indeed, I have performed the necessary actions to make a proper mook, in that their health lowers individually without affecting other mooks of its' type. The question ultimately is, I can't make a token action for a mook, it just simply doesn't appear at the left hand top corner. For this case, I have simply made a macro which makes him use his melee weapon, more specifically, using the same code that the spread sheet uses when you have your melee weapon attack roll. I'm using 5e. Here's the macro; &{template:5eDefault} {{character_name=@{Grunt|character_name}}} {{title=@{Grunt|meleeweaponname1}}} {{subheader=@{Grunt|character_name}}} {{subheaderright=Melee attack}} {{weapon=1}} {{simple=1}} {{rollname=Attack}} {{roll1=[[ 1d20cs>@{Grunt|meleeweaponcritrange1} + [[@{Grunt|meleetohit1}]] + [[@{Grunt|global_melee_attack_bonus}]] ]]}} {{weapondamage=[[@{Grunt|meleedmg1} + [[@{Grunt|meleedmgbonus1}]] + [[(@{Grunt|global_melee_damage_bonus})]] ]] @{Grunt|meleedmgtype1}}} {{weaponcritdamage=Additional [[@{Grunt|meleecritdmg1}]] damage}} @{Grunt|classactionmeleeweapon}} @{Grunt|ro_melee1} @{Grunt|classactionmeleeweapon} Ultimately, I'd like something more generic, that can be used with any and all tokens, so that I don't have to make a new macro for each one, however it isn't too painful to make the new macros. Back onto the main topic, this works perfectly with characters with only one token, but for mooks, it doesn't appear at all, what am I doing wrong here?
1522274221
GiGs
Pro
Sheet Author
API Scripter
Have you set the Represents field on the token?
1522274883
The Aaron
Pro
API Scripter
This might help:&nbsp; <a href="https://wiki.roll20.net/Linking_Tokens_to_Journals" rel="nofollow">https://wiki.roll20.net/Linking_Tokens_to_Journals</a>
G G said: Have you set the Represents field on the token? ...... .......... ............ Maybe. Theoretically speaking of course, that sounds like something which certainly would solve my problem..... you know, if I forgot something as simple as that... &lt;_&lt; &gt;_&gt; But really, that did just solve my problem. I appreciate it! I've looked at that page @The Aaron, however I can't seem to find out a method to make a generic macro still that does the same as I'm doing now to use the Attack function. Assuming you were referring to that, at least. Couldn't also find a direct answer concerning my issue, but I do have comprehension problems from time to time, so it may have simply made little to no sense to me.
1522276538
GiGs
Pro
Sheet Author
API Scripter
Hehe. It was the first thing that came to mind, because I needed help recently for exactly the same oversight. To make a more generic macro, replace each instance of "Grunt|" in your script with "selected|" This will only work if you select the token you want to attack with, but since its being set up as a token action, which can only be seen when the token is selected, that shouldn't be an issue. Then you just have to be careful to select the correct token before attacking with it. If you want to be prompted for which token to select each time you use the macro, replace "selected|" with "target|". This will then work even if you have no tokens selected, and you'll be prompted to select the token you are attacking with.
1522279529
The Aaron
Pro
API Scripter
If you are putting these in an ability on a character, you don’t even need selected, unless it’s for token bars.&nbsp;