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
Script Help Does anybody know how I'm supposed to do this pls? [SOLVED]
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#4
RE: Does anybody know how I'm supposed to do this pls?

Well, if it's a timer, I used a custom script called ResumeEventTimer.

//Resumes an event timer after a step is over
void ResumeEventTimer(string &in asTimer, float afTime)
{
AddTimer(asTimer, afTime, asTimer);
}

string &in asTimer = name of the timer
float afTime = amount of time before starting the timer again

Example:

ResumeEventTimer("TimerWakeUp", 0.5f);

However, you need something that will stop the timer temporarly.
03-08-2014, 10:03 PM
Find


Messages In This Thread
RE: Does anybody know how I'm supposed to do this pls? - by Neelke - 03-08-2014, 10:03 PM



Users browsing this thread: 1 Guest(s)