Need Help about timings in this Page

05/08/2017 17:17 DerDrahtzieher#1
Hello!

So in the Spoiler is a Code of an Event.
Its porting u on an Map and then it says "Monsters are coming" etc..
Everything works fine except, right after the message that Monsters are coming i have to wait like 4 minutes (felt like it) before the Monsters are spawning. So every Timing get delayed. so i think with my "noob" Knowledge that the first Timing is delayed and thats why everything gets delayed. i hope u can understand what i mean to say.



05/08/2017 21:52 Devsome#2
#moved
05/18/2017 09:56 atom0s#3
The sleeps come from the Thread.Sleep command. Such as:
Code:
Thread.Sleep(4 * 60 * 1000);

Sleep is handled in milliseconds. This first sleep states that it should sleep for 240000 milliseconds, which is 4 minutes. Just change the sleep to a different time that you want. For example, 1 minute would be 60000 milliseconds so you would use:
Code:
Thread.Sleep(60000);