11.04.2022, 12:21
Hi!
I have 36 boolean values that i would like to check status on by using a resident script.
If one of these 36 is true, i would like to update a new object to true, otherwise update it to false.
Is there any easy way to do this in lua script, without writing if (value1 = true or value2 = true or value3 = true.........etc......etc...value36 = true)?
-S-
I have 36 boolean values that i would like to check status on by using a resident script.
If one of these 36 is true, i would like to update a new object to true, otherwise update it to false.
Is there any easy way to do this in lua script, without writing if (value1 = true or value2 = true or value3 = true.........etc......etc...value36 = true)?
-S-