hi Danturn, heres a very simple timer script that shows your time in seconds as a Hint in the top left hand of screen
;LapTime.sqs
_TimeSpent = _this select 0
_Caption = _this select 1
#Update
_TimeSpent = _TimeSpent +1
?trigFinish : goto "FinishTime"
Hint format[_Caption + "%1",_TimeSpent]
~1
goto "Update"
#FinishTime
;Option here to elaborate
trigFinish=False
exit
call it with:
[0, "Lap Time: "] exec "LapTimer.sqs";
Don't expect anything too exciting with this. You'll need to place a Start trigger to detect when the racer has left the start line to call the script....then a 2nd trigger to detect when the racer has crossed the Finish line (trigFinish=true).
EDIT: Just be sure make both triggers are repeating. Also make sure both Start & Finish triggers are at least as wide as the road & about 3m deep, allowing for about a 1m gap between the 2. Obviously, Group both triggers to the Player... Start Trig set to 'Vehicle' - 'Not Present'... Finish Trig set to 'Vehicle' - 'Present' (not sure if i can be any clearer)
When you cross back over the Start trigger again the trigger will restart the script from 0