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

Hi all just a quick bit of macro help needed i have tryed to make a Drop-Down Prompts macro for Special Attacks in combat bullrush and so on and for the most part it works first question/problem is there any way i could include a melee attack roll before Trip strength+modifiers roll but still keep it all in that one Drop-Down prompt the second part of the macro is a brief description of each Special Attacks in Drop-Down Prompts so here is the second question/problem for some reason when i select Over Run in the drop box it show no description the other two work just not that one &{template:DnD35StdRoll} {{abilityflag=true}} {{name=@{character_name} }} [?{Special Attack?|Bull Rush,&{template:DnD35StdRoll&#125;{{checkroll=[Bull Rush](<a href="http://www.d20srd.org/srd/combat/specialAttacks.htm#bullRush" rel="nofollow">http://www.d20srd.org/srd/combat/specialAttacks.htm#bullRush</a>) check: [[1d20 + [[@{str-mod}]]+ [[?{Improved Bull Rush(+2)&#125;]]+ [[?{size(+4 bonus for each size category you are larger than Medium or -4 penalty for each size category you are smaller than Medium)&#125;]]+ [[?{Charging(+2)&#125;]] ]]&#125;|Trip,&{template:DnD35StdRoll&#125;{{checkroll=[Trip](<a href="http://www.d20srd.org/srd/combat/specialAttacks.htm#trip" rel="nofollow">http://www.d20srd.org/srd/combat/specialAttacks.htm#trip</a>) check: [[1d20 + [[@{str-mod}]]+ [[?{Improved Trip(+2)&#125;]]+ [[?{size(+4 bonus for each size category you are larger than Medium or -4 penalty for each size category you are smaller than Medium)&#125;]]+ [[?{Charging(+2)&#125;]]+ [[?{Stable(+4)&#125;]] ]]&#125;|Overrun,&{template:DnD35StdRoll&#125; {{checkroll=[Overrun](<a href="http://www.d20srd.org/srd/combat/specialAttacks.htm#bullRush" rel="nofollow">http://www.d20srd.org/srd/combat/specialAttacks.htm#bullRush</a>) check: [[1d20 +[[@{str-mod}]] +[[@{str-mod}]]+ [[?{Improved Overrun(+2)&#125;]]+ [[?{size(+4 bonus for each size category you are larger than Medium or -4 penalty for each size category you are smaller than Medium)&#125;]]+ [[?{Charging(+2)&#125;]]+ [[?{Stable(+4)&#125;]] ]]&#125;}} &{template:DnD35StdRoll} {{skillflag=true}} {{?{Name of Query|Bull Rush,As a [standard action](<a href="http://www.d20srd.org/srd/combat/actionsInCombat.htm#standardActions" rel="nofollow">http://www.d20srd.org/srd/combat/actionsInCombat.htm#standardActions</a>) or as part of a [charge](<a href="http://www.d20srd.org/srd/combat/specialAttacks.htm#charge" rel="nofollow">http://www.d20srd.org/srd/combat/specialAttacks.htm#charge</a>). Provokes an [Attack of Opportunity](<a href="http://www.d20srd.org/srd/combat/attacksOfOpportunity.htm" rel="nofollow">http://www.d20srd.org/srd/combat/attacksOfOpportunity.htm</a>) unless you have taken [Improved Bull Rush](<a href="http://www.d20srd.org/srd/feats.htm#improvedBullRush" rel="nofollow">http://www.d20srd.org/srd/feats.htm#improvedBullRush</a>) as a feat. If the Bull Rush beats the defender's score push them back 5 feet + 5 feet each 5 points by which your check result is greater than the defender's check result. You can't exceed your normal movement limit.If you fail to beat the defender’s Strength check result you move 5 feet straight back to where you were before you moved into his space. If that space is occupied you fall [prone](<a href="http://www.d20srd.org/srd/conditionSummary.htm#prone" rel="nofollow">http://www.d20srd.org/srd/conditionSummary.htm#prone</a>) in that space.&#125;|Overrun,As a [standard action](<a href="http://www.d20srd.org/srd/combat/actionsInCombat.htm#standardActions" rel="nofollow">http://www.d20srd.org/srd/combat/actionsInCombat.htm#standardActions</a>) as part of a [move action](<a href="http://www.d20srd.org/srd/combat/actionsInCombat.htm#moveActions" rel="nofollow">http://www.d20srd.org/srd/combat/actionsInCombat.htm#moveActions</a>). Provokes an [Attack of Opportunity](<a href="http://www.d20srd.org/srd/combat/attacksOfOpportunity.htm" rel="nofollow">http://www.d20srd.org/srd/combat/attacksOfOpportunity.htm</a>). Unless the Improved Overrun feat is used the target can choose to move out of the way - cancelling the Overrun.Otherwise use the first scores above to determine whether the target can block the attempt. If the opponents block defeats the Overrun, use the second scores to see in the target reverses the effect.If the Overrun is successful you may finish your movement if you fail you move back 5 feet the way you came. If you succeed your opponent in rendered [prone](<a href="http://www.d20srd.org/srd/conditionSummary.htm#prone" rel="nofollow">http://www.d20srd.org/srd/conditionSummary.htm#prone</a>) if your opponent blocks and reverses, you are rendered [prone](<a href="http://www.d20srd.org/srd/conditionSummary.htm#prone" rel="nofollow">http://www.d20srd.org/srd/conditionSummary.htm#prone</a>). &#125;|trip,As a [standard action](<a href="http://www.d20srd.org/srd/combat/actionsInCombat.htm#standardActions" rel="nofollow">http://www.d20srd.org/srd/combat/actionsInCombat.htm#standardActions</a>). Provokes an [Attack of Opportunity](<a href="http://www.d20srd.org/srd/combat/attacksOfOpportunity.htm" rel="nofollow">http://www.d20srd.org/srd/combat/attacksOfOpportunity.htm</a>) unless you have taken [Improved Trip](<a href="http://www.d20srd.org/srd/feats.htm#improvedTrip" rel="nofollow">http://www.d20srd.org/srd/feats.htm#improvedTrip</a>) as a feat.If the Trip beats the defender's score the target falls [prone](<a href="http://www.d20srd.org/srd/conditionSummary.htm#prone" rel="nofollow">http://www.d20srd.org/srd/conditionSummary.htm#prone</a>) into their square. If you fail to beat the defender’s check result and don't possess Improved Trip the opponent may immediately attempt a Trip of their own without AoO or retaliation.&#125; }}
I can't tell from the copy.paste if you did or not;&nbsp; but make sure you're accounting for any commas, pipes, and closed Curly Braces within your roll query by using HTML Entity replacements. -Link
1468948276

Edited 1468948303
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Winter's Gift said: [ ?{Special Attack?|Bull Rush, &{template:DnD35StdRoll} {{checkroll=[Bull Rush]( <a href="http://www.d20srd.org/srd/combat/specialAttacks.htm#bullRush" rel="nofollow">http://www.d20srd.org/srd/combat/specialAttacks.htm#bullRush</a> ) check: [[1d20 + [[@{str-mod}]]+ [[?{Improved Bull Rush(+2)}]]+ [[?{size(+4 bonus for each size category you are larger than Medium or -4 penalty for each size category you are smaller than Medium)}]]+ [[?{Charging(+2)}]] ]]}|Trip, &{template:DnD35StdRoll} {{checkroll=[Trip]( <a href="http://www.d20srd.org/srd/combat/specialAttacks.htm#trip" rel="nofollow">http://www.d20srd.org/srd/combat/specialAttacks.htm#trip</a> ) check: [[1d20 + [[@{str-mod}]]+ [[?{Improved Trip(+2)}]]+ [[?{size(+4 bonus for each size category you are larger than Medium or -4 penalty for each size category you are smaller than Medium)}]]+ [[?{Charging(+2)}]]+ [[?{Stable(+4)}]] ]]}|Overrun, &{template:DnD35StdRoll} &nbsp; One thing I'm noticing about your macro (no idea if it would affect your output, but you have a lot of extraneous Template calls as well as an odd random "[" before the first query. As far as I know, you can only output a single roll template with any one message. Also, any entries (like say {{name=...}}) can only have one value, and the last value is what is output (again, no idea if this is your issue). It might help to post a screenshot of what output you are getting to make it easier to troubleshoot.
1468973058

Edited 1468973417
here is a SS of the out i get as i said for the most part it works it is the output to the overrun description that fails to display&nbsp; oh i forgot to add @ Scott.c "[" not sure how that got there but i removed the unneeded templates and the output seems unaffected
Try replacing the commas in the overrun description.
1468974369

Edited 1468974472
so when you say replace the comma you mean "|overrun,text" with "|overrun"html entity"txt"&nbsp;
Not that comma, but the ones following it that are part of overrun's description. I count at least two.
my god man how did i miss those ...so long looking at it..... thank you Silvyre and every one else&nbsp;
1468974879

Edited 1468974913
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
and you'll actually need to do it for every comma that is not part of the roll query syntax. Also, this is probably a problem: that space. } |Overrun,As as it is probably simply ending the roll query there. You'll need to replace any }, |, or commas that are not part of the roll query syntax.
yea most of them are not sure how to have it display on the forums as how it is written but its solved now the comma in the actual description was breaking it once again thank you guys for all the help