Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Emitter script texure dialog?

msw Tomorrow
Registered User
Join date: 19 Sep 2007
Posts: 23
01-03-2009 18:43
Need some help if possible or pointed in the right direction... Not a scripter :)

Looking for a emitter script with a menu dialog to change the texture emitted. I have seen these for sale but can't seem to find any full perm, code examples etc...

An example you see most often is a single prim fish emitter that you can slect from a menu which fish is emitted.

Any help appreciated.

msw
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
01-04-2009 03:08
What you want involves more disciplines. First of all the llParticleSystem:
http://www.lslwiki.net/lslwiki/wakka.php?wakka=llParticleSystem
In there you will find a parameter: PSYS_SRC_TEXTURE, that defines the texture used for the particle.
Next you need are the textures you want to pick from. They may be represented by UUID or by texture in the objects inventory. Anyway you should make a list of textures to pick from and then read the name/UUID into the llParticleSystem.
About how inventory items are handled, see:
http://www.lslwiki.net/lslwiki/wakka.php?wakka=inventory
_____________________
From Studio Dora