Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Bobboau on June 26, 2002, 09:49:53 pm

Title: how do the time stamp functions work
Post by: Bobboau on June 26, 2002, 09:49:53 pm
ok, I probly could just play around a bit more and get it, but how do I use the timestamp functions,
like if in some code, I want something to happen once every second, right now it's hapening once every frame how do I alter my code to do this, this is hypothetical I don't actualy have anything at this moment
Title: how do the time stamp functions work
Post by: YodaSean on July 03, 2002, 10:44:02 pm
You need to get the timing stuff from the system clock.  I think theirs a "gettickcount" function or something that will let you do this.