Difference between revisions of "Talk:Redstone (API)"
(8 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | ==( | + | ==(no title)== |
+ | Cleaned up the rs.bundledOutput command description a little bit to clarify things. -DraconixReviews- | ||
+ | |||
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: | ||
Line 6: | Line 8: | ||
sleep(0.5)<br /> | sleep(0.5)<br /> | ||
setBundledOutput(orange,back,magenta)<br /> | setBundledOutput(orange,back,magenta)<br /> | ||
− | |||
and after the 5 seconds, it puts: | and after the 5 seconds, it puts: | ||
"redtest:2: attempt to call nil" | "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... | + | 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... <small><span class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:98.127.192.199|98.127.192.199]] ([[User talk:98.127.192.199|talk]] • [[Special:Contributions/98.127.192.199|contribs]]) </span></small><!-- Template:Unsigned --> |
+ | |||
: 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) | : 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) | ||
+ | |||
+ | i belive i found your problem, your error comes on line 2 after you have sleeped for 5 secconds, you have writed back on the both bundleoutput, if you meen black than it is to different thing, but still i am not sure that is the problem. | ||
+ | |||
+ | idk mayne |
Latest revision as of 19:39, 28 October 2012
(no title)
Cleaned up the rs.bundledOutput command description a little bit to clarify things. -DraconixReviews-
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... — Preceding unsigned comment added by 98.127.192.199 (talk • contribs)
- 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)
i belive i found your problem, your error comes on line 2 after you have sleeped for 5 secconds, you have writed back on the both bundleoutput, if you meen black than it is to different thing, but still i am not sure that is the problem.
idk mayne