Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Getting time elapsed
Getting time elapsed
2003-01-01, 2:26 PM #1
I'm currently working on a combo system for the JK saber, and I need to get the time that passed between two calls of the activate message. Is there another way besides using a pulse and a counter?

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)

[This message has been edited by zagibu (edited January 01, 2003).]
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2003-01-01, 2:33 PM #2
Code:
Activated:
   elapsed = GetLevelTime() - oldtime;
   oldtime = GetLevelTime();

[http://forums.massassi.net/html/biggrin.gif]

------------------
The Sniper Missions. Current project, The Sniper Missions

The Magician Saber System.
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2003-01-01, 3:00 PM #3
Yey! Thanks a lot.

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)

↑ Up to the top!