Difference between revisions of "Talk:Redstone (API)"
From ComputerCraft Wiki
(Redpower+Computercraft=why no work?) |
|||
Line 1: | Line 1: | ||
+ | ==(Question that should have been asked on the forums)== | ||
i tried to do it but for some reason it didnt work, i tried: | i tried to do it but for some reason it didnt work, i tried: | ||
− | sleep(5) | + | sleep(5)<br /> |
− | setBundledOutput(orange,back,magenta) | + | setBundledOutput(orange,back,magenta)<br /> |
− | sleep(0.5) | + | sleep(0.5)<br /> |
− | setBundledOutput(orange,back,magenta) | + | setBundledOutput(orange,back,magenta)<br /> |
Line 11: | Line 12: | ||
how the heck does it work? how can i get it to work? someone plez reply lol, im new to lua so i know very little about lua... | how the heck does it work? how can i get it to work? someone plez reply lol, im new to lua so i know very little about lua... | ||
+ | : First of all, where's the function declaration? You call redtest(), but the error tells that it doesn't exist. Second, use redstone.setBundledOutput() or rs.setBundledOutput(). [[User:Wukl|Wukl]] 09:12, 9 April 2012 (UTC) |
Revision as of 09:12, 9 April 2012
(Question that should have been asked on the forums)
i tried to do it but for some reason it didnt work, i tried:
sleep(5)
setBundledOutput(orange,back,magenta)
sleep(0.5)
setBundledOutput(orange,back,magenta)
and after the 5 seconds, it puts:
"redtest:2: attempt to call nil"
how the heck does it work? how can i get it to work? someone plez reply lol, im new to lua so i know very little about lua...
- First of all, where's the function declaration? You call redtest(), but the error tells that it doesn't exist. Second, use redstone.setBundledOutput() or rs.setBundledOutput(). Wukl 09:12, 9 April 2012 (UTC)