If I create a csqc-only game with FTE an I want to trigger and event after exactly 2 secs no matter upon which machine I'm running the game (a 7years-old laptop or a modern game rig), which should I use: frametime, time or cltime? Because time doesnt' seem "faithful" to different machine specs, instead, cltime..it acts wierd..
Usually I use frametime, even if it *seems* to be calculated differently when you invoke it in CSQC_UpdateView or inside a .think function with, for example:
Code: Select all
void mythink()
{
stufftime += frametime * 1;
self.nextthink = time + 0.2;
self.think = mythink;
}
(again, I use time for nextthink, probably I should use frametime?But, does it work frametime in .think funcs?!?
)
Thanks in advance, you masters of CSQC time!