Jump to content




ICBM mod launcher as Peripheral

peripheral

  • You cannot reply to this topic
3 replies to this topic

#1 NICTEC

  • New Members
  • 2 posts

Posted 27 February 2016 - 07:22 PM

Hey There
First of all sorry for my bad English but Im Austrian.

When I run the following test code I get the Error Message: attempt to index ? (a nil value) an I don“t know why.

local IcbmSide = "right"
icbm = peripheral.wrap(IcbmSide)
icbm.launch()


#2 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 27 February 2016 - 10:19 PM

I assume the error has a '3' in there somewhere too. That's the line number.

You would get that error if there isn't actually a peripheral on the right.

#3 NICTEC

  • New Members
  • 2 posts

Posted 28 February 2016 - 09:50 AM

Yes the error has a "3" in it.

#4 HDeffo

  • Members
  • 214 posts

Posted 29 February 2016 - 08:28 PM

ICBM's peripheral I believe is the terminal you normally launch missiles from. This is of course on the older version I don't think the newer version even had peripheral support since it switched authors. Which of the three parts are you trying to wrap with the computer?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users