Grim Hijinks Posted September 30, 2014 Share Posted September 30, 2014 default{ touch_start(integer total_number) { llPlaySound(llGetInventoryName(SandwichEat09,0),1); }} What's wrong here? :/ Link to comment Share on other sites More sharing options...
Rolig Loon Posted September 30, 2014 Share Posted September 30, 2014 You're giving the script an unreadable command. If the name of your sound file is "SandwichEat09", then you should be writing llPlaySound("SandwichEat09",1.0); If you don't know the name of the sound file (or don;t want to use it), and it's the only one that you're going to put in the object's Contents, you should write llPlaySound(llGetInventoryName(INVENTORY_SOUND,0),1.0); See the syntax in the wiki at http://wiki.secondlife.com/wiki/LlPlaySound Link to comment Share on other sites More sharing options...
Urzul Posted September 30, 2014 Share Posted September 30, 2014 default { touch_start(integer total_number) { llPlaySound("Insect speek",1.0); } } you dont need to llgetinventory... Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now