Post Reply Home » Forums » MMO Forums » EverQuest 2 » EverQuest 2 Premium Discussions

Fast timer : EverQuest 2 Premium Discussions

Posted: July 30th, 2005
rattlebone
How would I get access to a fast (millisecond) timer within the scripting
environment. I know "XUScriptHost.Sleep 5000" will sleep for 5000
millisecs, but was looking for a free running fast timer.

Generally it might be something like the code shown below,
but I'm not sure how to code this for X-Unleashed's VB

Dim StartTickCount As Long
Private Declare Function GetTickCount Lib "kernel32" () As Long
StartTickCount = GetTickCount()
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 18 guests