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 help with Initiative Macro.

1439252836

Edited 1439252917
Can anyone tell me whats wrong with this macro? &{template:default} {{name=Initiative}}{{Initiative=@{selected|I}+1t{Probability} }} I works fine until I add the random selection from the Probability table, and then it stops producing a result.  I've checked all of the element separately and they work when entered manually into the chat window, but not in the macro. I've scanned the wiki and watched several video's but haven't found any explanation.
I don't know what the I attribute is, but I infer your issue is stemming from improper Rollable Table syntax . Try this &{template:default} {{name=Initiative}}{{Initiative=@{selected|I}+ [[ 1t [ Probability ] ]] }} or, &{template:default} {{name=Initiative}}{{Initiative= [[ @{selected|I}+ 1t [ Probability ] ]] }}
1439255469

Edited 1439256074
Thanks, the second one worked.  The top one produced all the input values but didn't total them (e.g.I got  32+2 as a result instead of 34).  But the bottom one worked perfectly.  Now I just need to update the tracker with the result, but that shold be easy as I've had that working already. ++++ Ok! All working as expected now, thanks.