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
Using a Timer to Unlock a Door
AGP Offline
Senior Member

Posts: 448
Threads: 45
Joined: Dec 2012
Reputation: 23
#3
RE: Using a Timer to Unlock a Door

Sounds good, but still very confused with the script for the timer.

This is what the wiki says, but no idea what it means. Still pretty new to scripting.

void AddTimer(string& asName, float afTime, string& asFunction);


Creates a timer which calls a function when it expires.


Callback syntax: void MyFunc(string &in asTimer)



asName - the name of the timer


afTime - time in seconds


asFunction - the function to call

05-06-2013, 05:36 PM
Find


Messages In This Thread
Using a Timer to Unlock a Door - by AGP - 05-06-2013, 05:13 PM
RE: Using a Timer to Unlock a Door - by AGP - 05-06-2013, 05:36 PM
RE: Using a Timer to Unlock a Door - by AGP - 05-06-2013, 06:13 PM
RE: Using a Timer to Unlock a Door - by AGP - 05-06-2013, 06:27 PM
RE: Using a Timer to Unlock a Door - by AGP - 05-06-2013, 06:32 PM
RE: Using a Timer to Unlock a Door - by AGP - 05-06-2013, 06:49 PM



Users browsing this thread: 7 Guest(s)