Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-08-2006, 07:24 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
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
Reply With Quote
  #2  
Old 02-08-2006, 07:48 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
http://wiki.graal.net/index.php/Particle_Engine
__________________
Skyld
Reply With Quote
  #3  
Old 02-08-2006, 08:28 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
already looked there cant get modifiers to work lol
and i cant find anything about catching destroying events there
Reply With Quote
  #4  
Old 02-08-2006, 08:54 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Can you give us an example of the script you are working on? Perhaps we can spot an error that you have not.
Reply With Quote
  #5  
Old 02-08-2006, 11:27 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
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
Reply With Quote
  #6  
Old 02-09-2006, 11:45 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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