Closed lovelle-cardoso closed 2 years ago
@lovelle-cardoso I use the following script:
# RootSection
Here's a test: {~*|one|two|three|four|(}
^
I wanted to purely randomize my 4 choices (with potential repeats) and then start again.
However, I sometimes get the (
as a result: Here's a test: (
Is the (
only expected to work without the pure random marker ~*
?
@Wipeless
Is the
(
only expected to work without the pure random marker~*
?
I didn't think the end operators would be used with the pure random start operator. But I can add support for )
and simply ignore (
@Wipeless K should be supported in 20415533
Ok! I've created a lot of bugs for these features and I think it now looks all good. I can confirm that this enhancement has been reviewed on my end!
IMPORTANT: The functionality of dynamic sequences have been adjusted slightly.
~~
(
no longer exists, because it is now the default behavior for all dynamic sequences.+
To test interpolating number variables:
Try changing the count and replaying the game to see if the text is properly pluralized according to English pluralization rules.
You can pluralize according to number variables by formatting your tag like this
{numberVariableName:singlular|plural}
To test interpolating boolean variables:
Try changing the success variable and replaying the game to see if the text properly changes.
You can select text according to boolean variables by formatting your tag like this
{booleanVariableName:false|true}
To test dynamic sequences:
Dynamic sequences will select a different value every time they execute during a game's lifetime. You can use special markers to determine which values should be selected. In the first param, use
~
to shuffle or~*
to randomize. In the last param, use(
to repeat cycle or)
to repeat last.