What are the params for:
DestroyParticle ?
GetParticlesInRange ?
(thought GetParticlesInRange would be similar if not equal to IsCreeperInRange)
At a guess, DestroyParticle will be a particle UID.
GetParticlesInRange [X Y Range ? ? - ]
I suspect that the ?s are true/false specifying whether to return friendly particles and look in a square range (box), but am not sure.
Im throwing onto the stack the particle UID for destroy particle but it says its taking an item from an empty stack. What other params do you think it would be asking for?
I don't know what the other argument does, but the UID has to go first. At a guess, the other argument is similar to CW3's DestroyMode?
For GetParticlesInRange:
X Y range square type
For type, 0=blue, 1=red, 2=both
For some reason GetParticlesInRange interprets the range as a diameter. There is a second command, GetParticlesInRadius, which handles this a bit more sensibly.
Yes, thank you! the other param was for a death animation. Can't believe I didn't think of that as it was there in Destroy in CRPL. Thanks!