Skip to content

Trying to advance list state machine using function #814

Discussion options

You must be logged in to vote

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.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by joningold
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants