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

/em as alternate character for players

Aside from being set as a DM to use the DM only "/em as" is there any way for a player to have a macro emote as a different character? Like I have 2 character sheets under my control, my character and my familiar... I was wondering if there was a way that I can have my macros rolled from my familiar's character sheet emote as my familiar so that i don't have to swap back and forth between active characters in the chat all the time.
Nope.
1411567322
Diana P
Pro
Sheet Author
You could have the emote as <charname>'s <familiarname> . so the macro could be /em 's Fido growls and bites at the foe. He hits AT [[d20+@{attack bonuses}]] for [[d6+1]] damage. or similar.
Sadly, the only way is to make the other players also GMs, then they gain permission to do /as. With a character sheet you can do stuff like this: /as @{selected|token_name}
I guess you could use /desc (can player use it?) Give a token "editable" by a character (somaybe he could change his "username" between his character and the one the GM gave him ..? Don't know..
1411580857

Edited 1411660569
The Aaron
Roll20 Production Team
API Scripter
Update v0.3 - Fixed help message output. Added screenshot of use/behavior Bryan, if you have the API, you can use this little script I whipped up... (currently it does not restrict players in any way) GIST: <a href="https://gist.github.com/shdwjk/42f34ecfd167ec56c9f7" rel="nofollow">https://gist.github.com/shdwjk/42f34ecfd167ec56c9f7</a>
1411584764

Edited 1411584795
The GM of the campaign I've been playing does have mentor status, though he hasn't actually used the API at all yet... mostly just uses dynamic lighting and the extra storage space... I'll have to try to talk him into adding this to the API
1411585008
The Aaron
Roll20 Production Team
API Scripter
@Chell: =D Let me know if he needs any modifications. I was thinking of adding a check for characters matching the first argument and checking if the issuing player controlled them, but I haven't needed that yet.
So this will do... exactly what I am trying to fix today? So if I have it !emas "text" on every newline it will behave like " /as @{selected|token_name} " ? It seems like it grabs their display name??? ( who=getObj('player',msg.playerid).get('_displayname').split(' ')[0]; ) instead though???? Why does it mention "setting the light" ???? *confused??* I don't want players to have to set the bottom right "displayname" to the character token name that they have selected.
1411660286

Edited 1411660608
The Aaron
Roll20 Production Team
API Scripter
Whoops! I copied the script from my torch script, looks like I forgot to edit that part of the help... =D This will behave like /emas does for GMs. So, if you: !emas Donald Duck quacks up! you will get an emote colored line that says: Donald Duck quacks up! Edited my original post with correct instructions, GIST link, and screenshot.
Doesn't work with rolls : Ivy uses MW Dagger to attack Ivy Ivy $0 | $1 vs AC Ivy Critical on $2 Ivy Fumble on $3 Versus /as (for GM) Ivy: uses MW Dagger to attack Ivy Rolling 1d20 + floor((8-10)/2)+ (floor(ceil(((0 + 0 + 0 + 9 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0))/1e10)+ceil(((0 + 0 + 0 + 9 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0))/4))*1) + 1 [To Hit] + 0 [Active Melee Attack Bonus] = (&lt;span class="basicdiceroll"&gt;5&lt;/span&gt;)+floor((8-10)/2)+(floor(ceil(((0+0+0+9+0+0+0+0+0+0+0+3+0+0))/10000000000)+ceil(((0+0+0+9+0+0+0+0+0+0+0+3+0+0))/4))*1)+1+0" style="border: 2px solid rgb( 254 , 246 , 142 ) ; padding: 0px 3px ; font-weight: bold ; cursor: help ; font-size: 1.1em ; background-color: rgb( 254 , 246 , 142 )"&gt;9 | Rolling 1d20 + floor((8-10)/2)+ (floor(ceil(((0 + 0 + 0 + 9 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0))/1e10)+ceil(((0 + 0 + 0 + 9 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0))/4))*1) + 1 [To Hit] + 0 [Active Melee Attack Bonus] = (&lt;span class="basicdiceroll"&gt;15&lt;/span&gt;)+floor((8-10)/2)+(floor(ceil(((0+0+0+9+0+0+0+0+0+0+0+3+0+0))/10000000000)+ceil(((0+0+0+9+0+0+0+0+0+0+0+3+0+0))/4))*1)+1+0" style="border: 2px solid rgb( 254 , 246 , 142 ) ; padding: 0px 3px ; font-weight: bold ; cursor: help ; font-size: 1.1em ; background-color: rgb( 254 , 246 , 142 )"&gt;19 vs AC Critical on Rolling (20 + floor((8-10)/2)+ (floor(ceil(((0 + 0 + 0 + 9 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0))/1e10)+ceil(((0 + 0 + 0 + 9 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0))/4))*1) + 1 + 0 - 0) = (20+floor((8-10)/2)+(floor(ceil(((0+0+0+9+0+0+0+0+0+0+0+3+0+0))/10000000000)+ceil(((0+0+0+9+0+0+0+0+0+0+0+3+0+0))/4))*1)+1+0-0)" style="border: 2px solid rgb( 254 , 246 , 142 ) ; padding: 0px 3px ; font-weight: bold ; cursor: help ; font-size: 1.1em ; background-color: rgb( 254 , 246 , 142 )"&gt;24 Fumble on Rolling (1 + floor((8-10)/2)+ (floor(ceil(((0 + 0 + 0 + 9 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0))/1e10)+ceil(((0 + 0 + 0 + 9 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0))/4))*1) + 1 + 0 + 0) = (1+floor((8-10)/2)+(floor(ceil(((0+0+0+9+0+0+0+0+0+0+0+3+0+0))/10000000000)+ceil(((0+0+0+9+0+0+0+0+0+0+0+3+0+0))/4))*1)+1+0+0)" style="border: 2px solid rgb( 254 , 246 , 142 ) ; padding: 0px 3px ; font-weight: bold ; cursor: help ; font-size: 1.1em ; background-color: rgb( 254 , 246 , 142 )"&gt;5 (To GM): Target Ivy 's AC 21
1411690084
The Aaron
Roll20 Production Team
API Scripter
Can you post the command? Hard to debug from just the output.
1411691283

Edited 1411691430
Bottom one is: /as @{selected|token_name} [[1d20 + -1]]] (etc) top one is using your !emas @{selected|token_name} [[1d20 + -1]]] (etc) Even this : !emas @{selected|token_name} [[1d20 + -1]] is doing this : Grigor $0 If I hover over the 0 it says "rolling 0"
I haven't had a chance to talk to my GM about adding this API script yet... and by the sound of things that might be a good thing for right now... since it won't help much if !emas can only work with pure text based output... it really needs to be functional with in-line rolls as well...