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

Showing villain portraits in the rolls

As the gm, I am having big trouble with including the avatars in the rolls. I have made a couple of character sheets for the villains, including their avatars. It works fine when I use "/me" after selecting the proper character from the "as" combobox, but this becomes incredibly uncomfortable, when you control 6 different villains and have to change the selection from the combobox after every roll. Is it possible to make the macro show the avatar without using the "/me"?
Not possible without using an api script or character sheet.
Alternatively, you can use /emas to prevent the emote from displaying a Character Avatar.
I WANT TO DISPLAY THE AVATAR IN THE ROLL!
Like SkyCaptain said, it is not possible to select which Avatar is displayed in Text Chat outputs by any means other than the 'As' dropdown without the assistance of an an API Script . (Access to the API is available only in games in which the game's Creator currently has an active Pro subscription.)
You can add pictures to a macro output in chat using the image tag. [image name](image web address.png) The image should be uploaded online somewhere, that includes the character portraits in your game, just right click on it and copy the image address. Be sure to add .png or .jpg to the end of the address.  See basic chat formatting  here in the wiki.
1481925675

Edited 1481925747
To expand on Ed's point, you could have something like this: /emas " " [Villain]( <a href="http://i.imgur.com/" rel="nofollow">http://i.imgur.com/</a> ?{Villain| A, HiC4f7e | B, 33vf3SF | C, Ech3dsn } .png ) The villain attacks! or /desc [ ](<a href="http://i.imgur.com/?{Villain|" rel="nofollow">http://i.imgur.com/?{Villain|</a> A,HiC4f7e| B,33vf3SF| C,Ech3dsn }.png) The villain attacks!
Thank you for your answers, what about adjusting the size? Simply resizing the source image makes it blurry.
Are you increasing the dimensions of a small image, or vice versa? The latter should result in less blurriness than the former. (Downscaling an image properly should not result in a large loss of quality.)
I have just though about something else. Is there a macro or a script that could do the same effect as selecting a character from the combobox?
Jaspery Z. said: Is there a macro or a script that could do the same effect as selecting a character from the combobox? ColorEmote is used to this effect. In a more jury-rigged fashion, you could use the Attributes of a selected Character to control macro output, e.g. /emas " " [ ]( <a href="http://i.imgur.com/" rel="nofollow">http://i.imgur.com/</a> @{selected|imgur_code} .png ) @{selected|character_name} attacks! or /desc [ ]( <a href="http://i.imgur.com/" rel="nofollow">http://i.imgur.com/</a> @{selected|imgur_code} .png ) @{selected|character_name} attacks! ChatSetAttr might be of further assistance with handling this. e.g. !setattr --sel --imgur_code|?{Code|HiC4f7e}
1481974813
Gold
Forum Champion
If you install ColorEmote API script (as mentioned above, Pro subscriber feature), try these macros. Make them as global macros under collections as GM, and checkmark them to be Token Actions accessible to: All Players. Then you can simply click any Token on the map page, and choose to display Avatar with just their name in chat, or choose to talk as that character's name & avatar in chat. Macro Name: Chat-NAME /fx nova-water !cem Here comes @{selected|token_name} Macro Name: Chat-TALK /fx glow-charm !cem @{selected|token_name} says: "?{WHAT WILL YOU SAY?}"
It appears you misunderstood me. I meant to use a script/someting else instead of left-clicking on the "as" combobox.
Go pro and use Powercards. :) They are marvelous.
Jaspery Z. said: I meant to use a script/someting else instead of left-clicking on the "as" combobox. Try this out: Focus the Text Chat's input box (by clicking into to it, or using the Advanced Shortcut c c ). When it's focused, a blue outline appears around it. Press the Tab key of your keyboard to shift focus down to the 'As' dropdown. Navigate the 'As' dropdown using your keyboard, e.g. via the arrow keys or by typing the first letter(s) of Character names. When you've selected the desired Character, press Tab again while holding down Shift to return focus to the Text Chat's input box. After some practice, this should become a much faster method of using the 'As' dropdown.
1481999914
Gold
Forum Champion
Jaspery Z. said: It appears you misunderstood me. I meant to use a script/someting else instead of left-clicking on the "as" combobox. If you get Pro and use ColorEmote script, that would be a nice alternative instead of clicking the "As" dropdown. I think that I understand your request?