How do I get the current particle?

  • Awesan
    20th Aug 2010 Member 0 Permalink
    I want to set the heat of the current particle. I tried this but it fails constantly:

    parts[pmap[y][x]].temp = CFDS;

    As far as I understand from the tutorial, this should work. I tried adding >>8 after [x] because that's in the tutorial (I don't know what it's for), but that didn't work either. So how do I set the heat of the current particle, or how do I 'get' the current particle at all?

    Thanks in advance ;)

    PS. I tried looking if someone asked this already, but people don't know how to name a topic, apparently. I did not read every topic so I might have missed it.
  • Awesan
    20th Aug 2010 Member 0 Permalink
    Turns out it's as easy as parts[i].temp. Should have looked at the code better some earlier I guess