I'm trying to make a time system that does x function per x time and i want that function to apply only in certian world ( for instance the realm.)
But im a skrub. that can't accomplish anything, so ples help . or give me a hint or something.
Originally Posted by DemonLives
I'm trying to make a time system that does x function per x time and i want that function to apply only in certian world ( for instance the realm.)
But im a skrub. that can't accomplish anything, so ples help . or give me a hint or something.
Go to your worldclass (gameworld.cs) and make a custom function, then in the tick function, call the function you have made after X amount of time. Can be done using DateTime.