trigger_multiple sound
Moderator: Core Staff
trigger_multiple sound
Is there any way to make a trigger_multiple where while someone is touching a looping sound is playing (for them only), and when they aren't touching it it doesn't play?
-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: trigger_multiple sound
Just use playlocalsound and stoplocalsound.

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: trigger_multiple sound
k, I'll try and figure out how to set it up.
-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: trigger_multiple sound
The things you will be looking to use are:
while(player isTouching(trigger))
{
//play sound
}
//stop sound
while(player isTouching(trigger))
{
//play sound
}
//stop sound

Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: trigger_multiple sound
k, sorry for being such a noob, I just haven't scripted in over a year, and now I need it for stuff I'm working on.
Re: trigger_multiple sound
none of your business 

Who is online
Users browsing this forum: No registered users and 3 guests