Hello everyone! I have visited the particle laboratory and the particle and script wiki's for second life and AM STILL LOST!
All I want is a script, that allowed for a particle to be poofed once the tip jar has been paid or clicked upon? Thank you!
These forums are CLOSED. Please visit the new forums HERE
NEED HELP: Poof when tip paid to jar?!? |
|
Godiva Rugani
Registered User
Join date: 16 Jan 2009
Posts: 25
|
11-11-2009 19:50
Hello everyone! I have visited the particle laboratory and the particle and script wiki's for second life and AM STILL LOST!
All I want is a script, that allowed for a particle to be poofed once the tip jar has been paid or clicked upon? Thank you! |
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
11-11-2009 20:37
if you went to the particle lab, you already should have the poof script, you just need to take a tip jar script and copy the particle source function to the money event. something like:
money(key id, integer amount) { llSay(llKey2Name(id) + " paid L$" + (string)integer); llParticleSystem([ PARTICLE PARAMS.......... ]); llSleep(0.25);//sleep for a quarter of a second llParticleSystem([]);//empty particle system turns the particles off } _____________________
Dark Heart Emporium
http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020 want more layers for tattoos, specifically for the head? vote here http://jira.secondlife.com/browse/VWR-1449? llDetectedCollision* Functions similar to touch http://jira.secondlife.com/browse/SVC-3369 |
Godiva Rugani
Registered User
Join date: 16 Jan 2009
Posts: 25
|
11-11-2009 20:58
I have tried that and am still getting error messages Ruth. Am I just not putting the code in the right place?
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
11-11-2009 21:16
it's hard to say without seeing what you've got, but my example is pretty straight forward of what's needed
_____________________
Dark Heart Emporium
http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020 want more layers for tattoos, specifically for the head? vote here http://jira.secondlife.com/browse/VWR-1449? llDetectedCollision* Functions similar to touch http://jira.secondlife.com/browse/SVC-3369 |
Godiva Rugani
Registered User
Join date: 16 Jan 2009
Posts: 25
|
11-11-2009 22:08
I suppose i'll try again tomorrow. I can't even seem to post my code here in the forums that i'm using.
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
11-12-2009 07:13
Don't post the whole code. Just post the money event, since that's obviously where it needs to be changed. If any "< " symbols in the code are followed by something other than a numeral, insert a space there to placate the forum gods so you can post the script.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask....
![]() Look for my work in XStreetSL at |
Godiva Rugani
Registered User
Join date: 16 Jan 2009
Posts: 25
|
11-12-2009 10:11
CODE
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
11-12-2009 11:34
Ah... It looks like you've almost got it. You just have a little bit of extraneous code at the end of what you showed us. Remove the following....
); ({ if ( AUTO_START ) llParticleSystem( particle_parameters ); } and all should be well. _____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask....
![]() Look for my work in XStreetSL at |