View Full Version : PE on Terrain

08-03-2006, 06:42 AM
How do I get so when any particle is on the terrain it shows a ani

heres what I have right now

if (emitter.particle.z == "0") {

I've tried many other things but nothing works :/

08-03-2006, 06:59 PM
Thats something I need also, when my rain dropped down I need to see a splash, so maybe some modifier for images could help?

08-05-2006, 12:50 AM
addLocalModifier("once", rangeend, rangeend, "image", "replace", <imagename>, <imagename>);

This post may get deleted but that's my shot in the dark. That _might_ work, but then again, if the GS2 parser evaluates the last two params as numbers, then there's no way to do it with modifiers.

Isn't there some way to access each individual emitted particle?

08-05-2006, 04:30 AM
Perhaps this information posted by Stefan might be helpful:

- emitter.dropemitter, emitter.dropwateremitter - those work exactly like the emitter itself (e.g. you can edit emitter.dropemitter.particle) and are used for emitting particles once a particle drops on the ground (rain drops) or the lifetime is over (for fireworks) - once a particle is dropping the emitter is calling dropemitter.emitat() to produce the drops; if there is a dropwateremitter and the particle was dropping on water then it is using the dropwateremitter for the drop effect

Source: http://forums.graalonline.com/forums/showthread.php?t=62877