Laser of bombs that falling fast???

  • Antoine17
    7th Mar 2014 Banned 0 Permalink
    This post is hidden because the user is banned
    Edited 2 times by Antoine17. Last: 7th Mar 2014
  • minecraft-physics
    7th Mar 2014 Member 1 Permalink

    /summon mniip {Criticism: replaces existing element instead of allocating a new one.}

  • Antoine17
    7th Mar 2014 Banned 0 Permalink
    This post is hidden because the user is banned
  • FeynmanLogomaker
    7th Mar 2014 Member 0 Permalink

    Your LOBM replaces another element. Do you know how to allocate a new element? If not, you should use my Lua Element Tool to make boilerplate code. (Or read the wiki...)

  • Antoine17
    7th Mar 2014 Banned 0 Permalink
    This post is hidden because the user is banned
  • jenn4
    7th Mar 2014 Member 0 Permalink
    I'm pretty (and quite) sure that you can just copy all the c stuff to a new allocated element and then just mess with it.
  • Antoine17
    7th Mar 2014 Banned 0 Permalink
    This post is hidden because the user is banned
  • FeynmanLogomaker
    7th Mar 2014 Member 0 Permalink

    tpt.update_func(tpt.el.lobm.id, tpt.el.bomb.id) 

     

    Or something like that, you just have to copy bomb's update function over to LOBM

  • Antoine17
    7th Mar 2014 Banned 0 Permalink
    This post is hidden because the user is banned
  • FeynmanLogomaker
    7th Mar 2014 Member 0 Permalink

    One sec, reviewing the wiki for how you WOULD do it...

     

    EDIT: you can't do it like that. There should be a function to get the update func of an element.

    Edited once by FeynmanLogomaker. Last: 7th Mar 2014