Next Topic

Previous Topic

Book Contents

Sample Script: TLuaTimer

--Demonstrates the Lua timer interface
Timer = TLuaTImer();
Timer:Start()
print("Timer started");
Wait(1000);
print("Operation took "..Timer:Stop().." ms";