This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

check severals of boolean values in script
#1
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-
Reply


Messages In This Thread
check severals of boolean values in script - by stigen - 11.04.2022, 12:21

Forum Jump: