LlTriggerSound

De DigiWiki.

//When touched, object containing this script will trigger the sound entered.
//This function allows object to trigger sound even if attached to an avatar (AGENT)
//Creator: TonyH Wrangler
 
string sound = "ed124764-705d-d497-167a-182cd9fa2e6c"; //uuid or name of item in inventory
 
default
{
    touch_start(integer total_num)
    {
        llTriggerSound(sound, 1.0);
    }
}
Outils personnels
  • Cette page a été consultée 458 fois.
donate
Google Ads