Jump to content

Name not defined within scope?


Grim Hijinks
 Share

You are about to reply to a thread that has been inactive for 3494 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

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

You are about to reply to a thread that has been inactive for 3494 days.

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
 Share

×
×
  • Create New...