Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sound trigger
Shoop Offline
Junior Member

Posts: 36
Threads: 10
Joined: Feb 2011
Reputation: 0
#3
RE: Sound trigger

I don't know a void function for just playing a single sound without fading, that is basically what I am asking.
Would this work?
AddEntityCollideCallback("Player", "SoundArea", "SoundTrigger1", true, 1);
void SoundTrigger1(string &in asParent , string &in asChild , int alState)
{
  SetEntityActive("whisper" , true);
}
Put together better of course, and with a proper sound that I would put into the map.
(This post was last modified: 04-21-2011, 03:48 PM by Shoop.)
04-21-2011, 03:43 PM
Find


Messages In This Thread
Sound trigger - by Shoop - 04-21-2011, 03:36 PM
RE: Sound trigger - by Tanshaydar - 04-21-2011, 03:41 PM
RE: Sound trigger - by Shoop - 04-21-2011, 03:43 PM
RE: Sound trigger - by MrBigzy - 04-21-2011, 04:09 PM
RE: Sound trigger - by Shoop - 04-21-2011, 06:06 PM



Users browsing this thread: 1 Guest(s)