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?
xiphirx Offline
Senior Member

Posts: 662
Threads: 16
Joined: Nov 2010
Reputation: 5
#8
RE: Daniel Breathing?

... Are you sure? Works fine here.

By the way, made the code better

void OnEnter()
{
     AddTimer("tmrBreathe", 1.0f, "Breathe");
}
void Breathe(string &in asTimer)
{
     float eventTime = RandFloat(1.0f, 5.0f);
     PlaySoundAtEntity("sndPlayerBreathe", "react_breath.snt", "Player", 0, false);
     AddTimer("tmrBreathe", eventTime, "Breathe");
}

(This post was last modified: 05-30-2011, 11:58 PM by xiphirx.)
05-30-2011, 11:49 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)