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

Player macro to speak as?

September 25 (6 years ago)

So, I'm playing a ranger who has an animal companion.  The ranger and animal companion roll separate initiative and have distinct attacks.  I've been trying to find a way to create a macro that changes who I'm speaking as for the duration of the macro.  Typically, I have my chat to speak as my Ranger character, but I want it so that when I roll my companion's initiative/saves/ability checks/attacks, it'll do so while speaking as said companion - this will make chat easier to decipher who's rolling what (especially at the beginning of combat when everyone is rolling initiative; it can be difficult to tell which init roll belongs to the ranger and which to the pet).

I can see in the wiki documentation that GMs have the option to use

/as "character name" <stuff they want to say> 

but this doesn't seem to work for players.  Is there something I can put in my macro to change who I'm speaking as, so that my pets rolls will be rolled as them and not as my ranger?

September 26 (6 years ago)

If your player has a token for their PC, and for their companion, and those tokens have different names, then you can chaqt as one or the other by selecting who your output comes from in the lower right of the main roll20 window.  I suspect that to 'automate' this would require an API

September 27 (6 years ago)


Aranador said:

If your player has a token for their PC, and for their companion, and those tokens have different names, then you can chaqt as one or the other by selecting who your output comes from in the lower right of the main roll20 window.  I suspect that to 'automate' this would require an API


Yeah, I was hoping to avoid having to switch outputs manually every single time I wanted to roll initiative, do an attack, etc.  It can be frustrating especially in scenarios like the 5e UA Revised Ranger's Beast Conclave.  Both the ranger and pet have their own initiative they have to roll.  Both have their own attacks.  When the Ranger makes an attack, it triggers the pet making an attack as a reaction.  Etc.  Having to switch back and forth multiple times every turn is slow and irritating.  Being able to just put a tag in my macros (like "/as Ranger:" or whatever) would make my life so much easier and make combat much more fluid.  If there isn't a way to do this already, maybe I should submit it as a feature request...

September 27 (6 years ago)

I'm not sure what character sheet you are using, but if you are using the 5e OGL character sheet there is a setting where you can include the character's name in the roll templates on that character sheet.

Then you might not need to switch between names as the name will appear at the bottom of the roll template.

September 27 (6 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

If you have a tiny graphic portrait of your character somewhere on the web, you can preface your post with "[name](url)" and it will put the graphic just above your post. If the graphic is already in the game, you can get its URL by placing it on the map, pressing "Z" and right clicking the image to copy the address.

Simply make the phrase "[name](url)" part of your posting macro.