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

[Macro] Help, I'm sure I'm missing something here...

1498308988

Edited 1498309355
Andrew C
Marketplace Creator
&{template:DnD35Attack} {{name=@{selected|token_name} }} {{subtags=attacks}} {{npcflag=true}} {{fullattackflag= ?{Full Attack|No,[[ 0d0]] }} {{attack1=Tentacle: [[ 1d20cs>20+3+?{Charge|No,0|Yes,2}+?{Attack Bonus|0} ]] at @{target|target1|token_name} with @{target|target1|bar2}AC }} {{critconfirm1=Crit Threat!: [[ 1d20+3+?{Charge}+?{Attack Bonus|0}]] }} {{damage1= [[1d6+1]] dmg }} {{critdmg1= plus [[ 1d6+1 ]] extra dmg }}|Yes, [[1d1]] }} {{attack1=Tentacle: [[ 1d20cs>20+3+?{Charge|No,0|Yes,2}+?{Attack Bonus|0} ]] at @{target|target1|token_name} with @{target|target1|bar2}AC }} {{critconfirm1=Crit Threat!: [[ 1d20+3+?{Charge}+?{Attack Bonus|0}]] }} {{damage1= [[1d6+1]] dmg }} {{critdmg1= plus [[ 1d6+1 ]] extra dmg }}{{attack2=Tentacle: [[ 1d20cs>20+3+?{Charge|No,0|Yes,2}+?{Attack Bonus|0} ]] }} {{critconfirm2=Crit Threat!: [[ 1d20+3+?{Charge}+?{Attack Bonus|0}]] }} {{damage2= [[1d6+1]] dmg }} {{critdmg2= plus [[ 1d6+1 ]] extra dmg }} } So the end result is to extend this out to four copies in the second half... but to avoid the GM having to click 4 times to choose 4 targets when they will never use three of those attacks.
1498310060
The Aaron
Pro
API Scripter
Probably you'd be better off adding some form of repeat button to allow the GM to easily repeat the action.  There isn't a way with macros to optionally execute based on targeting.
1498347345

Edited 1498347430
Andrew C
Marketplace Creator
Well I was thinking if I 'hid' the stuff inside a Roll Query, you'd only execute them later. Also, for Marketplace Stuff you need to pitch at Macro level. So yeah... seems it may be 4 targets or nothing. Maybe I can wangle it a bit more.  That trick worked fine for the Skill selector Macro I run...
1498348907
The Aaron
Pro
API Scripter
This would work with MarketPlace stuff.  Macro named DoThing : I did a thing to @{target|token_name} [Again?](!
#DoThing)
1498349323
Silvyre
Forum Champion
Andrew (Halfling Gypsy) said: Well I was thinking if I 'hid' the stuff inside a Roll Query, you'd only execute them later. That won't work for Attribute calls (emphasized within Advanced Usage for Roll Queries ).
1498362075
Andrew C
Marketplace Creator
The Aaron said: This would work with MarketPlace stuff.  Macro named DoThing : I did a thing to @{target|token_name} [Again?](!
#DoThing) Or I could make it a separate macro instead of being fancy and having Single Attack and "All Attacks" in the same macro.