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

Terrain Generator errors


Edited 1584403370
I set up rollable tables, I used the macro.  It lets me select page, table, item and size and then returns this error in chat: (From TerrainGenerator):  Wrong number of arguments for !TGFillBG Any idea what is causing this error? !TGFillBG ?{Page} ?{rollableTableName} ?{itemNames} ?{size}   This is the macro
The Aaron
Forum Champion
API Scripter
Make sure you don't have any extra spaces between each part of the command: !TGFillBG ?{Page} ?{rollableTableName} ?{itemNames} ?{size} And no trailing spaces in the input.  It splits the args on precisely one space, so putting two will cause it to have a ghost parameter.