Trying to advance list state machine using function #814
Answered
by
joningold
zekecato
asked this question in
Writing in ink
-
Here is my Ink Code
I am expecting the mission state to advance when I click the choice, but it doesn't. Can anyone help me understand this? |
Beta Was this translation helpful? Give feedback.
Answered by
joningold
Jan 23, 2023
Replies: 2 comments
-
You need on the conditional in the function. LIST_MAX finds the maximum in the list variable, which is the current value! LIST_MAX(LIST_ALL(...)) finds the max in the full list available. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
joningold
-
Thank you. My Hero! Worked just how I wanted.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need
{ mission == LIST_MAX(LIST_ALL(mission)):
on the conditional in the function. LIST_MAX finds the maximum in the list variable, which is the current value! LIST_MAX(LIST_ALL(...)) finds the max in the full list available.