This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
thedorkknight91's profile picture

open modular turrets

Started by thedorkknight91, 09 February 2017 - 04:42 AM
thedorkknight91 #1
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!



local gun = peripheral.wrap("OMTBase_0")

term.clear()
term.setCursorPos(1,1)
term.write("active: ")
print(gun.getActive())
term.write("type; ")
print(gun.getType())
thedorkknight91 #2
Posted 09 February 2017 - 07:10 AM
so the owners of the mod said they removed computercraft use from their pack, never finished it, and i guess moved on to different projects.