Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

I need someone with brains to help me....

Charity Colville
Registered User
Join date: 29 Jul 2006
Posts: 16
02-24-2009 14:14
I am attempting to learn to script, but I must admit I am blonde...LOL. Having a hell of a time trying to get this particle script to do what I want, although it is almost there. I am attempting to make a script that "poofs" my texture upon click rather than thru listening or teleport.

The script I have so far...when I click it, emits a silly glow and not my texture as I would like. I would like it to poof out about 20-30 of my textures upon click. Thats not the result I am getting. Can some of you pros help me out here and give me some tips? This is the script I have so far:


CODE
string    texture = "texture1";


default
{
touch_start(integer total_number)
{
texture = llGetInventoryName(INVENTORY_TEXTURE, 0);
llParticleSystem([texture,13,0.1,15,12,17,0.5,18,0.5,19,2.0]);
llSleep(2.5);
llParticleSystem([]);
}
}
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
02-24-2009 15:49
that is not a proper call to llParticleSystem()
See: http://www.lslwiki.net/lslwiki/wakka.php?wakka=llParticleSystem
You can find free particle scripts around, say 'Keknehv's Particle Script', by Keknehv Psaltery
Finally you shoud visit Particle Lab In World:)
_____________________
From Studio Dora
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
02-24-2009 16:16
I am sending you a copy of Particle Magic. It is a hud with several examples builtin, you can change and see how it looks as you work and then it will chat out the finished script. It should help. That and Dora's suggestion of going to the Particle Laboratory, there are example scripts there, including poofer scripts.

Off topic.
Dora I have wanted to say thanks for the way you started answering questions starting last year. But everytime I checked you had PMs off in your profile. So now everyone gets to hear it :D
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
02-25-2009 01:07
From: Jesse Barnett
Off topic.
Dora I have wanted to say thanks for the way you started answering questions starting last year. But everytime I checked you had PMs off in your profile. So now everyone gets to hear it :D

Thank you very much! My answers are very much dictated from the fact that English is not my mother tongue. This keep me from writing novels in English and force me to concentrate on the subject at hand:) Along that line abbreviations often are hard for me to guess the meaning of. For instance: what do you mean by 'PM'?
...and thanks again! (blushing)
_____________________
From Studio Dora
Dekka Raymaker
thinking very hard
Join date: 4 Feb 2007
Posts: 3,898
02-25-2009 07:08
From: Dora Gustafson
For instance: what do you mean by 'PM'?
...and thanks again! (blushing)

PM = Private Messaging here in the forums.