Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Particle Effects, Getting the Current Config.

BamBam Rockin
Registered User
Join date: 29 May 2007
Posts: 13
06-25-2007 08:52
Particle Effects are a sim property, so once you remove the script that causes particle effects, the effects still occur.

Is there a way to retrieve what the current values for the particle effects are?

What i want to do is making a simple particle on/off script, that will take a prim, that already has particles turned on, and stores the settings, then when u issue the command to turn the particles on, it uses the detected settings.
Jopsy Pendragon
Perpetual Outsider
Join date: 15 Jan 2004
Posts: 1,906
06-25-2007 09:35
From: BamBam Rockin
Particle Effects are a sim property, so once you remove the script that causes particle effects, the effects still occur.

Is there a way to retrieve what the current values for the particle effects are?

What i want to do is making a simple particle on/off script, that will take a prim, that already has particles turned on, and stores the settings, then when u issue the command to turn the particles on, it uses the detected settings.


Actually they are attributes of the PRIM not the sim, more like hover-text.

To the best of my knowledge there is no llGetPrimitiveParams( [ PRIM_PARTICLES ] ); feature.

Your best bet is to store the particle effect you set on a prim into a 'list' variable, and use that variable to start/stop your effect. :)
_____________________
* The Particle Laboratory * - One of SecondLife's Oldest Learning Resources.
Free particle, control and targetting scripts. Numerous in-depth visual demonstrations, and multiple sandbox areas.
-
Stop by and try out Jopsy's new "Porgan 1800" an advanced steampunk styled 'particle organ' and the new particle texture store!
BamBam Rockin
Registered User
Join date: 29 May 2007
Posts: 13
06-25-2007 09:51
yea i meant prim ><

lack of sleep > Me

I kind of thought that, but figured id ask :/