Advanced task option - Prevent merging of task outputs
||Sun 5th May 2013
|Found in version:
||Completed in version:
||Thu 30th Jul 2015
||Thu 30th Jul 2015
|saabie||Sun 5th May 2013 07:27|
|When the same task is executed multiple times from an action list, either from multiple execute task actions or by passing a list as a parameter, ADRIFT will take all of the outputs and merge them together into a single output by combining the differences into a list.
So if we execute task "Throw %object%" using the parameter "Player.Held" then we get an output like "You throw the red pen, the flower, the axe and the gold coin".
This is wonderful for these simple cases, but as soon as you try to do something more complicated with multiple task calls (especially nested tasks) then the output will not be what you expected, being combined inappropriately or with sections of text completely missing.
For example, if you try to output a list like:
Sally has the broom.
George has the dustpan.
Betty has the torch.
These could be combined into: "Sally, george and betty have the broom, dustpan and torch" which no longer tells us who has what.
This request is for a tick-box on the advanced page of tasks called something like "Merge text from multiple executions" which is normally selected, but which when unselected will force ADRIFT to output each execution separately.
I have marked this critical because I am having great difficulty getting some of my library modules and the games I am working on to work properly.
|pinosante||Sat 13th Jul 2013 18:05|
|This is also an important enhancement if you want to use the same task with different arguments, for different outputs. Right now, running the same task with different argument (say, running it for each different object as an argument) yields in only 1 output. Whereas you might like to have all the different outputs for each object.
Another problem you run into, is using formatting like a task which just gives a few blank lines <BR>. Using that task "Enter blank line" between different tasks with output doesn't work, since all the calls to the "Enter blank line" task are all taken together as one lump of output, where the idea is, to have the blank lines as separate lines between the different tasks with output.
TLDR; merging of output messes with formatting as well.
|Campbell||Thu 30th Jul 2015 21:59|
|Added "Aggregate output" checkbox, which defaults to ticked.|