Jump to content

LieLove

Resident
  • Posts

    19
  • Joined

  • Last visited

Posts posted by LieLove

  1. 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);
    
    	}
    
    }
    
    
×
×
  • Create New...