Jump to content
Sign in to follow this  
[aps]gnat

Time left and time elapsed

Recommended Posts

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 smile_o.gif

Share this post


Link to post
Share on other sites

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 smile_o.gif

Share this post


Link to post
Share on other sites

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

Yeh ..... I understand (and use) what estimatedtimeleft does .................. but that DOESNT do anything for ELAPSED TIME .. rock.gif

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

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 ..... crazy_o.gif

Oh well .... thanks anyway lads.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×