How can I ensure consistency within tags? #835
Answered
by
joningold
DanMcAdam
asked this question in
Game integration help
Replies: 2 comments 2 replies
-
You can use variables and constants in tags.
CONST ANIM=“animation”
LIST animations = pensive, excited
JIM: let’s see now… #{ANIM}: {pensive}
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Adaptive tags are new as of ink 1.1 so you need to make sure you have latest. If you’re using the js export I think that’s still needing to be updated but there’s an informal patch available - you can ask on the discord for it.
Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DanMcAdam
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to normalize tags? It seems like a necessity for their purpose, since writers will be writing potentially hundreds or thousands of lines of dialogue, many of which have an accompanying in game animation, noise, etc. and string comparison is notoriously finicky, a misremembered animation name ("#animation:pensive" instead of "animation:reserved" for example) or a simple capitalization error won't show up as an error until you try to run the code. Storing tags as variables, or placing variables in tags, would solve this problem. Is there a way to do something like that?
Beta Was this translation helpful? Give feedback.
All reactions