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

Any ideas how to get this macro to work

I've managed to get the loot to now auto roll a table but it seems to break, by not rolling or just not showing when i try to but it in the box any ideas 
Are you using recursive tables api?
Hi Mark,  yes I am, if i just use the Marco !rt [[ 1t[loot]]] it works fine but is very plain 
1589139896

Edited 1589139923
Put it outside or in front of the template !rt  &{}  ...
How do you mean Kilter?
1589145850
GiGs
Pro
Sheet Author
API Scripter
The !rt has to be put at the very start of the macro.
No Such luck
1589147057

Edited 1589147088
GiGs
Pro
Sheet Author
API Scripter
I've never used recursivetables, so cant really help much, but the loot part at the end likely has to go inside a rolltemplate brackets {{ }}. Exactly where it goes depends on your rolltemplate, but maybe add it at the end of the rname section. Anything not in {{ }} brackets will be dropped, i believe.
1589247567

Edited 1589248561
I think yours would look this: !rt /w gm &{template:npcaction} {{name=Amongst the Tat}} {{description=[[ 1t[loot] ]]}}! Edited to add description
<a href="https://wiki.roll20.net/D%26D_5e_OGL_Roll_Templates" rel="nofollow">https://wiki.roll20.net/D%26D_5e_OGL_Roll_Templates</a> you are missing this:&nbsp;&nbsp; {{description=[[ 1t[loot] ]]}}
good catch... i forgot 5E template are different then patfhfinders
thank you all so very much
works perfectly&nbsp;