Home   Help Search Login Register  

Author Topic: processing daytime now, and daytime you want to give skiptime value  (Read 725 times)

0 Members and 1 Guest are viewing this topic.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Hi,


I came across a script or a function a while back but am unable to find it.

The script was a skiptime system, that took the current daytime as a variable, and  the daytime you wanted to skip too and then processed the two, to come up with a skiptime value

any help would be greatly appreciated

Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
sorted.

I didnt need anything fancy, i just needed a set time that a minimissionmaker could use to skiptime to his desired mission start time

This simple system is going to be used in a coop with probably 27 possible minimissions, each having different start times of the day, the end time of each minimission varying

very simply run on all machines

;; following is the skiptime value from midnight that the mission maker wants to start his minimission task at
_missionstart = 6.3
_skiptime = 24 - daytime
Skiptime (_skiptime + _missionstart)



The system would auto skip to midnight and then further to the minimission start time while the minimission intro cutscene faded to black to hide the transition
« Last Edit: 08 Jul 2004, 22:44:36 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123