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
#5
RE: Daniel Breathing?

(05-30-2011, 10:46 PM)xiphirx Wrote: Fixed your script

void OnStart()
{
     Breathe();
}
void Breathe()
{
     int x = RandInt(5, 10);
     PlaySoundAtEntity("", "react_breath.snt", "Player", 0, false);
     AddTimer("tmrBreathe", x, "Breathe");
}

Please explain to me why the timer's local name is "tmrBreathe"?

05-30-2011, 11:05 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: 2 Guest(s)