Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   Particle Modifiers and Particle Events? (https://forums.graalonline.com/forums/showthread.php?t=63990)

projectigi 02-08-2006 07:24 PM

Particle Modifiers and Particle Events?
 
Hi,

someone has some code that makes use of particle modifiers more clear?

and is there a way to make events for particles?

like a function gets called when a particles lifetime ends like the onprojectile() thing

Skyld 02-08-2006 07:48 PM

http://wiki.graal.net/index.php/Particle_Engine

projectigi 02-08-2006 08:28 PM

already looked there cant get modifiers to work lol
and i cant find anything about catching destroying events there :(

Rick 02-08-2006 08:54 PM

Can you give us an example of the script you are working on? Perhaps we can spot an error that you have not.

projectigi 02-08-2006 11:27 PM

got the modifiers to work now forgot the variable modification type

so i recall that there was something like onactionprojectile() and onactionprojectile2() at gs1, that triggered when a projectile impacted and had information of the x, y and params of the impacted projectile

is there something like this for particles?
like onactionparticle() ?
Would be nice for some scripts to know when and where a particle gets destroyed

projectigi 02-09-2006 11:45 PM

i found out about dropemitters now
well i have a problem now, because i dont know how to get particles(like snow, firework explodes etc) to collide with ground, walls and water
i only know that they get destroyed after end of lifetime but how to make them collide with the ground?


All times are GMT +2. The time now is 04:03 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.