Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Plays a sounds at random at a random interval but less than the timer's float. Place sounds in inventory.
- default
- {
- state_entry()
- {
- llSetTimerEvent(llFrand(30.0));
- }
- timer()
- {
- llPlaySound(llGetInventoryName(INVENTORY_SOUND, (integer)llFrand(llGetInventoryNumber(INVENTORY_SOUND))),1.0);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement