PDA

View Full Version : Concatenating output from multiple table rolls in chat



Halki
March 22nd, 2019, 05:45
When one rolls on a table that calls multiple other tables the output is a mess in chat.

For example, I roll on a table "Cool NPC Name Generator" which has an one entry like this [Cool firstname][Cool middlename][Cool surname]

In chat its a mess of dice output with each of those items coming in one at a time like this but with all the dice roll output text
Jim
Bob
Smith

What Im trying to get it to do is concatenate the output like this:
Jim Bob Smith

Is there any way to do this in FG that I havent been able to turn up, or is it time to learn lua?

fwiw, I think this is something the generators extension can do, but it doesnt work in the current FG. So if there is a working alternative to that, let me know.

damned
March 22nd, 2019, 08:57
Story Templates.

Zacchaeus
March 22nd, 2019, 09:46
Indeed; if you want neat out put then either do as damned suggests and create Story Templates or just output the table to Story instead of chat. Note the latter will still output to three separate lines - it just won't show the dice rolls. The only method of doing what you want would be Story templates where you can control where the output actually goes.

Halki
March 22nd, 2019, 21:27
Ahh story templates. I hadnt thought of that. Ill give it a shot!

Thanks Damned & Zacchaeus!