Is there any way to modify particles based on the properties of the particles themselves? What I'm trying to do is modify a particles x/y movement dependent on its height. I want the particles to move faster if they're higher in the air, based on player input(walking).
This is my attempt:
PHP Code:
temp.emitter = findimg(200).emitter;
if (abs(temp.dx) > 0) {
with (temp.emitter) {
addglobalmodifier("once", 0, 5, "x", "add", -temp.dx*particles[0].z,-temp.dx*particles[0].z);
}
}
But obviously it doesn't work or I wouldn't be here.