10.05.2015, 21:27
Hi so I'm just a little confused about timers, I've seen a ton of topics suggesting certain methods and a lot of methods being called unnecessary or inefficient.
I'm currently using SetTimerEx in a tutorial system. There are four different stages to the tutorial and I want each stage to last a different amount of time. Once SetTimerEx finishes it calls the next stage and a different timer starts, and so on.
Is this a decent way to do this or is it considered outdated and inefficient or something? I'm not sure.
Also, in the future when I'm scripting constant background timers such as hourly paychecks or just keeping the world time/weather system in sync what is best to use then?
I'm currently using SetTimerEx in a tutorial system. There are four different stages to the tutorial and I want each stage to last a different amount of time. Once SetTimerEx finishes it calls the next stage and a different timer starts, and so on.
Is this a decent way to do this or is it considered outdated and inefficient or something? I'm not sure.
Also, in the future when I'm scripting constant background timers such as hourly paychecks or just keeping the world time/weather system in sync what is best to use then?