Quote:
Originally Posted by xXziroXx
How can I make a particle do something once it has moved to the location I want?
For example, once the rain has has gone from # z to 0 z, I want it to show a splash on that location (the x of the rain change as well of course) - how would I do that?
|
PHP Code:
//#CLIENTSIDE
function onCreated()
{
with ( findImg( 200))
{
image = "bomb.png";
x = 100;
y = 100;
z = 5;
layer = 4;
}
player.chat = findImg( 200).z; // returns 5
}
You can use that for emitters too, like a loop outside the emitter