inkle/inky

Dynamic tags not working

Opened this issue · 0 comments

The code

VAR choice = 2
VAR word = -1
{choice} #X: {choice}
{word}
->END

and

else if ( splitTag && splitTag.property == "X" ) {
    story.state.variablesState["word"] = splitTag.val;
}

make
2023-11-17_011612