31
Technical forum / Re: WME_particles query
« on: March 25, 2008, 09:51:27 PM »
you have to attach the script to the entity/region not to the scene
first create a region called "Emitter" in SceneEdit
Attach the particles script to it in SceneEdit
Add like you have done to scene_init:
var Ent = Scene.GetNode("Emitter");
Ent.MakeRain();
i am not sure if MakeRain(); needs some parameters - just look in the particles script for this
it should work ..
stucki
first create a region called "Emitter" in SceneEdit
Attach the particles script to it in SceneEdit
Add like you have done to scene_init:
var Ent = Scene.GetNode("Emitter");
Ent.MakeRain();
i am not sure if MakeRain(); needs some parameters - just look in the particles script for this
it should work ..
stucki