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

Need some quick help with a Initiative Turn Tracker Macro for Mutant: Year Zero

1509428852

Edited 1509430328
Hi everyone, to those who help I thank you preemptively. In Mutant: Year Zero, players who roll initiative have to roll a d6 and then add their agility attribute to the value. (eg. their agility is 3, they roll a 5 so 5+3=8) I have set up an initiative macro for this, however I want it to add to the turn tracker automatically. Here's the simple macro of what I have: /em Initiative /r d6 &{tracker:+} /r ? {Agility Bonus|0} While this is fine at adding the d6 result to the turn tracker, it does not completely encompass what I want. The problem is, when I attempt to add the &{tracker} command or {tracker:+} command to the Agility bonus section, it never actually adds to the result. eg. /em Initiative /r d6 &{tracker} /r ? {Agility Bonus|0} &{tracker:+} This yields the same results as the other. Does anyone have some advice on how to make this macro work?
1509451278
The Aaron
Pro
API Scripter
Try this: /em Initiative /r d6 + ?{Agility Bonus|0} &{tracker} you can also use inline rolls if you prefer: /em Initiative: [[d6 + ?{Agility Bonus|0} &{tracker}]] be sure you have a token selected in either case.
The Aaron said: Try this: /em Initiative /r d6 + ?{Agility Bonus|0} &{tracker} you can also use inline rolls if you prefer: /em Initiative: [[d6 + ?{Agility Bonus|0} &{tracker}]] be sure you have a token selected in either case. Works like a charm, Aaron, thanks a ton
1509481239
The Aaron
Pro
API Scripter
No problem! =D