inkle / inkle/inky

Dynamic tags not working

Open
#499 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/inkle/inky/assets/93446350/00aeca0b-7eeb-4e4a-af3a-d9a626412be6)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.