I want an event to trigger an event that reacts to a number and its multiples. For example, 8, then 16, then 24, and so on.
Do you want an event that triggers, for example, when a variable is 8, 16, 24, etc. ?
Then you need the “mod” function, it takes two parameters, a and b, and return the remainder of dividing a by b (integer division). The remainder of dividing a multiple of 16 (or any multiple of 8) by 8 is zero, so:
mod(24, 8) = mod(16, 8) = mod(8, 8) = 0
Maybe you’ll need the condition “Compare two expressions” located at “All conditions >> Other”, it allows you to compare two any values
Modulo.zip (2.7 KB)