Home   Help Search Login Register  

Author Topic: timer problem  (Read 442 times)

0 Members and 2 Guests are viewing this topic.

j-man

  • Guest
timer problem
« on: 17 Jan 2004, 03:48:18 »
I have this timer script that waits for 10 minutes before doing something. The problem is that I also have a script to skip time. When I skip an hour, the timer hasn't skip time. My question is, is there a way to make the timer skip time when the skip time script has been used ???  :P

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re:timer problem
« Reply #1 on: 17 Jan 2004, 03:55:03 »
hmmm....a script that waits 10 mins....is this script activated by trigger? If yes, wouldn't it be easier to let the trigger wait till it launches the script?

If this shouldn't fit your desires...i think theres a variable named "time" which detects how long the mission already runs...i don't think it checks daytime....maybe you can get around with this...

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:timer problem
« Reply #2 on: 17 Jan 2004, 03:59:36 »
No, I don't think so.   Skiptime just changes the time of day and weather, tides, etc.   It doesn't "do" anything in the mission.

The command time does indeed record time since the mission started.    Reserved variable _time records the time since a script started.    Daytime returns the time in the OFP world.    It should be possible to combine these to get what you want.

Or, when you skiptime you could just add the skiptime change to the timer.  
Plenty of reviewed ArmA missions for you to play

j-man

  • Guest
Re:timer problem
« Reply #3 on: 17 Jan 2004, 04:25:48 »
Thanks both of you, I got it to work ;D

All you have to do is not use the skip time command ;)