Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Amund211

Members
  • Content Count

    4
  • Joined

  • Last visited

Everything posted by Amund211

  1. Wow! Thanks, Michiyo. I had no idea it was that easy! =)
  2. Thanks man! I'm amazed that the rest of the code actually worked too, but now I have to get working on that sleep function....
  3. I'm not sure if I need the variable or not, but I trien once without(replaceing the variable with the actual function), but that didn't work either....
  4. Hi! I'm having a problem I can't seem to wrap my head around.... I'm trying to use the Big Reactors Computer port, but every time I try to do something with it i.e. component.br_reactor.getEnergyStored, which reads total energy stored in the reactor, I get an error message saying: Attempt to index 'component' (a nil value) (On line 1) Here's the code: power = component.br_reactor.getEnergyStored() if power>5000000 then component.br_reactor.setActive(false) else component.br_reactor.setActive(true) end sleep(1) I attempt to do something(I have no idea what I'm doing), and add one line
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.