iraasta Posted November 9, 2012 Author Share Posted November 9, 2012 Hi, I'm really missing that and writing in main EA topic makes no response so i came here.Can anyone help me and say what do I need to do to add Waiting option to Events?I'm new to VB, i can do some basic stuff but I'm trully confused with the way GetTickCount is working.Can anyone explain it to me?Thanks ![:lol:](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/laugh.png) Link to comment Share on other sites More sharing options...
abhi2011 Posted November 10, 2012 Share Posted November 10, 2012 In the engine something like a stopwatch is initialized. It is set to a certain tick. (250 i think) There is a tick event for this timer. It is enabled every tick i.e every 250 milliseconds. What GetTickCount does is it counts how much ticks has finished. (how much such 250ms has gone by).Hope you understand this.EDIT: Did you mean how the GetTickCount works?For the waiting you can add a long somewhere (say eventrec for players or something). Just compare the current tick with the long. If the current is greater than do something. (Not 2 sure) Link to comment Share on other sites More sharing options...
tslusny Posted November 10, 2012 Share Posted November 10, 2012 It isn´t possible to make Delay/wait in my event system with method of what is it processed now. If you will add it too loop, then yes delay is possible. But i maked that system, becouse i wanted to remove it from loops mainly. Link to comment Share on other sites More sharing options...
iraasta Posted November 10, 2012 Author Share Posted November 10, 2012 Um. So can we expect You Death to add such thing into Your system?I think a lot of ppl would really appreciate this. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now