Posted 17 April 2013 - 03:23 AM
Hey guys, i'm currently trying to build a adv. map for FTB and i want to have some sort of a monitor that shows the room number and
when the room is solved, the backgroundcolor changes to green ( lime ).
This is what i got so far :
The program is getting started on startup with
Need Help :3
Sincerely,
Skampi.
when the room is solved, the backgroundcolor changes to green ( lime ).
This is what i got so far :
m = peripheral.wrap("back")
local d = 0
m.setTextScale(4)
m.setCursorPos(4, 2)
m.setBackgroundColor(colors.black)
m.write("1")
d = 1
while d == 1 do
if rs.getInput("bottom") then
m.setBackgroundColor(colors.lime)
end
sleep(2)
end
The program is getting started on startup with
shell.run("monitor back clear")
shell.run("monitor back text")
( The program is called text ) My problem now is that the background color doesn't change when i apply a rs-signal at the bottom.Need Help :3
Sincerely,
Skampi.