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

Drone Command program for PnuematicCraft

Started by Cowboy_Cassanova, 22 October 2016 - 10:29 AM
Cowboy_Cassanova #1
Posted 22 October 2016 - 12:29 PM
Found this code i would like to use for Drones in PniematicCraft but for some reason i cant pinpoint im getting ".temp:53: attempt to index? (a nil value)" any help would be appreciated greatly. Pastebin below.

Pastebin: http://pastebin.com/DyM3Mexc
Bomb Bloke #2
Posted 22 October 2016 - 02:38 PM
That implies you're lacking the file containing the "button" API, which the script tries to load on line two. I would guess that this is the one you want.
Cowboy_Cassanova #3
Posted 23 October 2016 - 06:01 AM
hmm that would be helpful I think ill have to rewrite it to fit the drone program but ill see if it helps any.