why llPlaySound() does not work?
error\\\\;
Heart 01: Could not find sound 'b'. //i have a "b" sound file in my inv..
but does not work
These forums are CLOSED. Please visit the new forums HERE
why llPlaySound("b",1.0) does not work? |
|
|
zhangjinbao Lemon
Registered User
Join date: 25 Sep 2008
Posts: 16
|
10-08-2008 10:21
why llPlaySound() does not work?
error\\\\; Heart 01: Could not find sound 'b'. //i have a "b" sound file in my inv.. but does not work |
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
10-08-2008 10:33
The sound must be in the inventory of the same prim that has the script, not just in your resident inventory. Make sure to also check exact spelling, spacing, capitalization and such.
|
|
Imnotgoing Sideways
Can't outlaw cute! =^-^=
Join date: 17 Nov 2007
Posts: 4,694
|
10-08-2008 10:35
If you want to play a sound that's not in the object's own inventory, you'll have to play the sound by UUID, not by name. (^_^)y
_____________________
Somewhere in this world; there is someone having some good clean fun doing the one thing you hate the most. (^_^)y
![]() http://slurl.com/secondlife/Ferguson/54/237/94 |
|
zhangjinbao Lemon
Registered User
Join date: 25 Sep 2008
Posts: 16
|
I can not solve this problem. it's strange
10-08-2008 11:04
I can not solve this problem. it's strange. more idea?
|
|
Imnotgoing Sideways
Can't outlaw cute! =^-^=
Join date: 17 Nov 2007
Posts: 4,694
|
10-08-2008 11:30
It should simply work. My avatar glow script does just that. It triggers llPlaySound("*long bloody UUID*", 1.0); and the sound just plays. To re-iterate what's been said already...
If you're playing the sound by name; make sure there's a copy of the sound in the object with the script. And be careful of any and all character in the sound name. If the name is Worlds_Most ePIC-sound1 then the script line has to be exactly llPlaySound("Worlds_Most ePIC-sound1", 1.0);. (^_^) If you're not going to include the sound in the object, right click on the sound in your inventory and select "Copy UUID..." and use the line you get from it in the script line in replacement of the name. (^_^) Really... I can't think of another way to do it and it should simply work... Nothing more, nothing less. (^_^)y _____________________
Somewhere in this world; there is someone having some good clean fun doing the one thing you hate the most. (^_^)y
![]() http://slurl.com/secondlife/Ferguson/54/237/94 |
|
zhangjinbao Lemon
Registered User
Join date: 25 Sep 2008
Posts: 16
|
thanks i try to fix
10-08-2008 11:47
thanks i try to fix
|
|
zhangjinbao Lemon
Registered User
Join date: 25 Sep 2008
Posts: 16
|
10-08-2008 12:04
It should simply work. My avatar glow script does just that. It triggers llPlaySound("*long bloody UUID*", 1.0); and the sound just plays. To re-iterate what's been said already... If you're playing the sound by name; make sure there's a copy of the sound in the object with the script. And be careful of any and all character in the sound name. If the name is Worlds_Most ePIC-sound1 then the script line has to be exactly llPlaySound("Worlds_Most ePIC-sound1", 1.0);. (^_^) If you're not going to include the sound in the object, right click on the sound in your inventory and select "Copy UUID..." and use the line you get from it in the script line in replacement of the name. (^_^) Really... I can't think of another way to do it and it should simply work... Nothing more, nothing less. (^_^)y Thank you very much. I got it |