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

GroupCheck display no left margin

1585528051

Edited 1585577524
The group-init works great, but the group-check is acting strangely. The text is off-centered to the left for some reason. Have any ideas? Here are some shots: (Bad one is from the !GroupCheck with ApplyDamage macro = First Image aligned off the left and cut off) & (Good one is from GroupInitiative - Image correctly aligned) :: I Just want the top image to have the same alignment as the bottom image and not sure how to do that. I should add.. I'm using the API Group-Check plus ApplyDamage from the Nick Olivo video " 4 Scripts to speed up group combat".   Looks like this:  !group-check {{ --?{Save|Dexterity|Constitution|Wisdom} Save --process --subheader vs DC ?{DC} --button ApplyDamage !apply-damage ~dmg [[?{Damage}]] ~type ?{Damage on Save|Half,half|None,none} ~DC ?{DC} ~saves RESULTS(,) ~ids IDS(,) }}
1585529185
The Aaron
Roll20 Production Team
API Scripter
You have "Enable chat avatars" off, I bet.  If you change that setting, it will probably be on screen then.
Hey The Aaron.&nbsp; Since going pro and just starting to learn API, I'm seeing your name a lot on the forums - thanks so much for helping out! What I'm seeing when !group-check-config --showpicture is this:&nbsp; <a href="https://imgur.com/Tcebl06" rel="nofollow">https://imgur.com/Tcebl06</a> &nbsp; &nbsp;If you're talking about 'show picture = true' then I do have it on.&nbsp; Weirdly, to test your theory, I try to !group-check-config --hidepicture &nbsp;and it doesn't toggle the picture, it still shows 'true'.&nbsp; &nbsp;Maybe my syntax is wrong?
1585571181
The Aaron
Roll20 Production Team
API Scripter
Sorry, that was a bit terse, I was falling asleep. =D I'm talking about the setting in the gear tab. There's a checkbox that controls if there is a little image of the player next to their chat messages. It creates a little margin of empty space on the left side if chat, so some api scripts have been written to eat into that space. However, if the check mark is off, those scripts push into the clipping space and get cut off.&nbsp;
I didn't read you as terse at all.&nbsp; Honestly appreciate any help. Hopefully this is what you were indicating.&nbsp; The check mark is off but the image, just for that one macro, is skewed left with no margin, cutting off the begging of text.&nbsp; Also, while this does work for PCs, the macro is dealing with NPCs and they don't seem to be effected whether the box is checked or not.&nbsp; &nbsp;I'm going to post to Kevin about this and see if he says anything, but I don't think I'm going to get to use this macro as intended in a clean way, anyway lol. &nbsp;
1585578093
The Aaron
Roll20 Production Team
API Scripter
I just mean terse as in "sparing in the use of words" =D If you turn that checkmark on, it should let you see the full text.&nbsp; a change to the API script would be required to prevent the clipping with avatars off.
That was it.&nbsp; &nbsp;Thank you so much!&nbsp;
1585588140
The Aaron
Roll20 Production Team
API Scripter
No problem!