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);
}
}