Hello, I'll be pretty straightforward. I have an npc whose dialogue changes if variable x equals a number from 1 to 10. This means, he'll do different things according to the number the variable equals.
I'd like to check if a variable equals MORE than one number at a time. This means, I want a command that tells the program to check if variable x equals 4, 5 AND 6 at the same time. Just to name an example. This is a resource that I'd like to recreate for other events as well in order for me not to write a command per each number in the world that variables can equal.
This is the script call in the conditional branch that I came up with searching about Ruby operators but it hasn't worked out. It seems like no matter the value of the variable, it's not reading any but this script call even when the variable is 0. Hope you can help me out:
Pd: I also tried to double the equality symbol (==), not write the brackets, use commas and the connector AND.
I'd like to check if a variable equals MORE than one number at a time. This means, I want a command that tells the program to check if variable x equals 4, 5 AND 6 at the same time. Just to name an example. This is a resource that I'd like to recreate for other events as well in order for me not to write a command per each number in the world that variables can equal.
This is the script call in the conditional branch that I came up with searching about Ruby operators but it hasn't worked out. It seems like no matter the value of the variable, it's not reading any but this script call even when the variable is 0. Hope you can help me out:
Pd: I also tried to double the equality symbol (==), not write the brackets, use commas and the connector AND.