10.08.2017, 02:19
(09.08.2017, 18:26)kostal.borek Wrote: Hi all, please help, I have a script with two conditions and I need the script to start working if the first condition is false and the other true. For example...
Twilight = grp.getvalue("9/1/2")
ObjA = grp.getvalue("9/2/100")
if Twiligt false and ObjA == true then
Where am I making a mistake?
Thanks
Hi Kostal,
First make sure that 9/1/2 and 9/2/100 are booleans. Then try this :
Code:
Twilight = grp.getvalue('9/1/2')
ObjA = grp.getvalue('9/2/100')
if (Twiligt == false and ObjA == true) then
--do something
end
Chouaibou.