Jump to content

Autoplay Sound When Avatar near object HELP


LieLove
 Share

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

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

Recommended Posts

Hello,

I want to play object's inventory sound when avatar come near it , I have script it working but it is only playing one sound...

I want to play all 3 sound that are inside Object's content ,no loop,only continue play 3 sound

default
{

	state_entry() {
		llSensorRepeat("", NULL_KEY, AGENT, 5, PI, 5);
	}
	sensor(integer total_number) {

		llPlaySound(llGetInventoryName(INVENTORY_SOUND,0),1);

	}

}

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2835 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...