Posted 02 August 2016 - 01:57 PM
so i am trying to do program that will be controlling 4 things in my base. but i have some problems i am very unexperienced
with lua (about 2 days) so i cant figgure it out.
program is running little bit good but it seems like he is "jumping" between functions .
code here: http://pastebin.com/wdeQD2V8
and when function usp1 starts everything is ok. After that function solar is still ok but when function vet says "vetrna OK" and it will call function uz1. uz1 is checking if colors. yellow and pink are online if not i will call function radio but with calling function radio it will turn off redstone signal color.green why ?
i dont need to rework my code i just need an advice to fix this thing.
and sorry for my bad english :/ .
with lua (about 2 days) so i cant figgure it out.
program is running little bit good but it seems like he is "jumping" between functions .
code here: http://pastebin.com/wdeQD2V8
and when function usp1 starts everything is ok. After that function solar is still ok but when function vet says "vetrna OK" and it will call function uz1. uz1 is checking if colors. yellow and pink are online if not i will call function radio but with calling function radio it will turn off redstone signal color.green why ?
i dont need to rework my code i just need an advice to fix this thing.
and sorry for my bad english :/ .