I am trying to make a program that will output a redstone signal to a light grey cable (from project red) so i can get enhanced portals 3 to activate a portal, but i can't get the redstone to work and i prefer using the computer. (uploading screenshots wouldn't work)
error:
/home/initialization:4: attempt to index field 'redstone' (a nil value):
stack traceback:
/home/initialization:4: in main chunk
[C]: in function 'xpcall'
machine:751: in function 'xpcall'
/lib/process.lua:78: in function </lib/process.lua:71>
stack traceback:
[C]: in function 'error'
/lib/process.lua:92: in function </libprocess.lua:71>
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I am trying to make a program that will output a redstone signal to a light grey cable (from project red) so i can get enhanced portals 3 to activate a portal, but i can't get the redstone to work and i prefer using the computer. (uploading screenshots wouldn't work)
error:
/home/initialization:4: attempt to index field 'redstone' (a nil value):
stack traceback:
/home/initialization:4: in main chunk
[C]: in function 'xpcall'
machine:751: in function 'xpcall'
/lib/process.lua:78: in function </lib/process.lua:71>
stack traceback:
[C]: in function 'error'
/lib/process.lua:92: in function </libprocess.lua:71>
the code:
local component = require ("component")
local component = require ("sides")
component.redstone.setOutput(sides.back, colors.lightGrey, 16)
print("Event Initialized")
Link to post
Share on other sites