I've never written a script or have any experience writing one but i thought it would be fun to create my own hud of sound clips with my voice. I did manage to find a basic script that will loop a sound upon touch but it will not play in world. I've tried llPlaySound & LoopSound Scripts but only i can hear the sounds when the hud is attached to my avatar.
I also found a llTriggerSound script that can trigger the sound when i touch but I need it to loop the sound as well and turn off by touch as wel. Can anyone direct me to a script that will trigger the sound in world & toggle the loop off/on when touched or help me combine a loop script with the one i have pls? The script below very basic & i don't really understand scripting but I found it by lucky accident.
default
{
touch_start(integer total_number)
{
llTriggerSound("sound", 1.0);
}
}