Jump to content

play sound from HUD


sndbad Ghost
 Share

You are about to reply to a thread that has been inactive for 2726 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

hello 

is there any way to play sound when i use it with HUD without slave script 

i make sample script HUD play sound 

float VOLUME = 1.0;
default
{
    state_entry()
    {
       // llSay(0, "Script running");
    }
    
    touch_start(integer total_number)
    {
       // llSay(0, "Touched.");
  llPlaySound(llGetInventoryName(INVENTORY_SOUND, 0),VOLUME);

    }
}

its work with me only ( locally ) not work in world 

again i use it HUD 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2726 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...