Modding Help Cant get the hang of .lua

Discussion in 'Starbound Modding' started by Nobility Gaming, Apr 14, 2016.

  1. Nobility Gaming

    Nobility Gaming Void-Bound Voyager

    Could anyone help me in making a C4 I have everything done apart from the .lua which im bad at so im basically stuck. I tried to make the C4 activate when it is powered by wire or stepped on by a player or monster. So far I only figured out how to make it explode when stepped on by a player. Could anyone fix it and make it work on a monster and when activated using wire?
     

    Attached Files:

    • c4.zip
      File size:
      512 bytes
      Views:
      2
  2. C0bra5

    C0bra5 Oxygen Tank

    i don't know if we can detect the wire status of the object but i know that if you would want it to activate you would have to do in in your update since i don't think I've ever seen a onWire event or something like that.
     

Share This Page