Originally Posted by
KiD_CuDi_
I managed to figure out where it was:
But since im not good at coding im still confused with how I would setup a timer. All Ive managed to do is add a new using reference xd
help me out a bit?
I was able to do a simple google search and clicked on the first one and got something like this:
Code:
Timer aTimer = new Timer();
aTimer.Interval = 10*1000; // 10 * 1000 = 10 seconds
aTimer.Tick += CheckFinalQuests;
aTimer.Start();
just put that code where ever the file is calling CheckFinalQuests. Remove the old line(s) that is calling the method and replace it with the timer. Very simple. You may have to do a aTimer.Stop(); somewhere because I don't use timers that often.
Also get rid of the if that counts the enemies. It won't be needed since the timer is closing the realm.