Page 1 of 1
How to loop next entry?
Posted: Fri Mar 25, 2022 9:45 pm
by shshwdr
I want something similar to RandomizeNextEntry(), but instead of randomize, it would loop between the entries that satisfy conditions. The only way I can think is to save the dialogue name with the index into a variable, is there any good way to do this?
Re: How to loop next entry?
Posted: Fri Mar 25, 2022 9:56 pm
by Tony Li
You could do exactly what you describe. Set a DS variable's initial value to 0. At the beginning of the conversation (or wherever you loop from), increment the variable's value. Set the dialogue entry nodes' Conditions to check the variable value. You'll need to pay attention to your additional conditions on the nodes to make sure at least one node's Conditions are true.