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
Daniel Breathing?
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Daniel Breathing?

You can make the breathing sound at random times for cooler sound effects or something. :/

void OnStart()
{
     Breathe01();
}
void Breathe01()
{
     int x = RandInt(5, 10);
     PlaySoundAtEntity("", "react_breath.snt", "Player", 0, false);
     AddTimer("", x, "Breathe02");
}
void Breathe02(string &in asTimer)
{
     Breathe01();
}

(This post was last modified: 05-30-2011, 01:02 PM by Kyle.)
05-30-2011, 01:01 PM
Find


Messages In This Thread
Daniel Breathing? - by laser50 - 05-30-2011, 12:07 PM
RE: Daniel Breathing? - by Kyle - 05-30-2011, 01:01 PM
RE: Daniel Breathing? - by laser50 - 05-30-2011, 10:29 PM
RE: Daniel Breathing? - by xiphirx - 05-30-2011, 10:46 PM
RE: Daniel Breathing? - by Kyle - 05-30-2011, 11:05 PM
RE: Daniel Breathing? - by xiphirx - 05-30-2011, 11:06 PM
RE: Daniel Breathing? - by Kyle - 05-30-2011, 11:09 PM
RE: Daniel Breathing? - by xiphirx - 05-30-2011, 11:49 PM
RE: Daniel Breathing? - by Kyle - 05-31-2011, 12:22 AM
RE: Daniel Breathing? - by xiphirx - 05-31-2011, 12:31 AM



Users browsing this thread: 1 Guest(s)