Play and Loop Sound

De DigiWiki.

Version du 21 juin 2012 à 19:39 par Djphil (discuter | contributions)
(diff) ← Version précédente | Voir la version courante (diff) | Version suivante → (diff)

What does this mean?

This is a very short and simple script. Just put it in an object along with a sound and it will loop the sound over and over again.

Let's see the script then!

Okay, here we go :D.

//Bella all the way xD
 
default
{
    state_entry()
    {
        llLoopSound(llGetInventoryName(INVENTORY_SOUND,0), 1.0);
    }
}
Outils personnels
donate
Google Ads