Posted 03 April 2013 - 09:56 AM
I cannot figure out my problem with this code. First of all i dont know how to make it simpiler for me and seconded the way im doing is not working
redstone.setOutput("bottom",true)
you would wantlocal function Oon()
redstone.setOutput("bottom",true)
end
and you'd call it usingOon()
function Oon()
rs.setOutput("bottom", true )
end
local function Oon()
redstone.setOutput("bottom",true)
end
local function Ooff()
redstone.setOutput("bottom",false)
end
local function Mon()
redstone.setOutput("top",true)
end
local function Moff()
redstone.setOutput("top",false)
end
local function Won()
redstone.setOutput("right",true)
end
local function Woff()
redstone.setOutput("right",false)
end
local function Bon()
redstone.setOutput("left",true)
end
local function Boff()
redstone.setOutput("left",false)
end
local function sp()
sleep(0.5)
end
function doorin()
Oon()
Ooff()
sp()
end
Post some screenies when you're done! I love Fallout ^_^/>this is for a redpower fallout version vault i am making