Posted 09 February 2017 - 05:42 AM
when ever i i try to use getActive, or gettype, ect. i get a "computer access deactivated!"
it seems like omp (open modular turrets) is sending this message, as my scipt seems to do what its supposed to, doesnt give me errors or anything… but im trying to ask if my turret is active and should i get either a true or false boolean or whatever? im not super good at coding… yet ;)/> with your help maybe someday!
it seems like omp (open modular turrets) is sending this message, as my scipt seems to do what its supposed to, doesnt give me errors or anything… but im trying to ask if my turret is active and should i get either a true or false boolean or whatever? im not super good at coding… yet ;)/> with your help maybe someday!
local gun = peripheral.wrap("OMTBase_0")
term.clear()
term.setCursorPos(1,1)
term.write("active: ")
print(gun.getActive())
term.write("type; ")
print(gun.getType())