Help...(Please noone laugh at me)

  • QuentinADay
    15th Oct 2014 Member 0 Permalink

    I just tried to make a function that sets the life to a certain number and counts down every frame until it gets to 0, but when I tried to make it so that when it reaches 0 it turns to the second element, it failed lol I'm not sure if its possible

  • jward212
    15th Oct 2014 Member 0 Permalink

    yes, looking into it i'm also having troubles ortho i'm have an idea... But i'm to lazy to do it because of my lack of time coding my SECRET mod, always looking for coders that know trig; trust me you must be good.

  • QuentinADay
    15th Oct 2014 Member 0 Permalink

    Truthfully trig isn't really that difficult so I might be able to help

  • jacob1
    15th Oct 2014 Developer 0 Permalink
    @QuentinADay (View Post)
    I would check if the tmp is 0, if it is set it to 1 and set life to 10 (or whatever). There is no way to set initial properties currently.

    If tmp is 1, decrease the life by 1 every frame. You should be able to use PROP_LIFE_DEC for this. If life is 0 and tmp is 1, then you can change it to whatever element.
  • NorthMustang
    15th Oct 2014 Member 0 Permalink

    @jward212 (View Post)

    Thanks for all the help.

    Edited once by NorthMustang. Last: 15th Oct 2014
  • jward212
    15th Oct 2014 Member 0 Permalink

    well that helps

    @QuentinADay (View Post)

     shall I set up something in git hub?

     

    it wasn't me it was jacob

    Edited once by jward212. Last: 15th Oct 2014
  • NorthMustang
    15th Oct 2014 Member 0 Permalink

    Could I make it work with a temperature change?

  • QuentinADay
    15th Oct 2014 Member 0 Permalink

    I've Never really used github so you would need to tell me what to do lol

  • jward212
    16th Oct 2014 Member 0 Permalink

    kinda hopeing you would tell me how to use it...

    do you have a microsoft account we could use one drive?

    also i'm trying to open a url using a script

    os.execute("START https://powdertoy.co.uk/Discussions/Categories/Index.html")

    doesn't seem to work any ideas?

    may I add

    os.execute("START cmd.exe")

    works

    Edited 4 times by jward212. Last: 17th Oct 2014
  • jward212
    17th Oct 2014 Member 0 Permalink

    any one?