[aps]gnat 28 Posted May 12, 2004 Apart from; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">estimatedtimeleft 3600 in INIT.SQS, is there any other commands/instructions to determines mission times ? For example, OFPWatch has both a TIME LEFT and a TIME ELAPSED ....... so how are both these initialised ... ? No, elapsed doesnt seem to be calc'ed from estimatedtimeleft because on OFPWatch TimeLeft can have a number and Elapsed is NA..... (um .... maybe Elapsed on OFPWatch doesnt work .... hmmm) Any pointers are good ! Cheers Share this post Link to post Share on other sites
Junker 0 Posted May 12, 2004 both times are set as parameters in the description and init.sqs. Try looking at in some CTF or TDM missions for the answers in too tired to do now Share this post Link to post Share on other sites
benu 1 Posted May 12, 2004 You can get the "time left" value from the answer packet of the server. If you have missions were you can set a timelimit at the start that value is reported. If your mission does not have a predefined timelimit then the missionmaker can set the value with triggers/waypoints/scripts with the estimatedtimeleft command. Else it will always report 15 minutes of time left. I have no idea how the elapsed time is read, it does not seem to be part of the answer packet from a server query. Share this post Link to post Share on other sites
[aps]gnat 28 Posted May 13, 2004 Yeh ..... I understand (and use) what estimatedtimeleft does .................. but that DOESNT do anything for ELAPSED TIME .. So what is this in OFPWatch ? How its it initialised ? Hey CERTA ..... you there man ? Share this post Link to post Share on other sites
[aps]gnat 28 Posted May 13, 2004 Arh Bugger ! Just read the OFPWatch web page ...... the TIME ELAPSED is a function of OFPWatch itself .... not of an OFP Server. ....... but it doesnt seem to show for me on my normal dedicated game server ... OGN ..... Oh well .... thanks anyway lads. Share this post Link to post Share on other sites