Home   Help Search Login Register  

Author Topic: time changes  (Read 451 times)

0 Members and 1 Guest are viewing this topic.

kueter

  • Guest
time changes
« on: 20 May 2003, 01:33:54 »
hello all, :P
      Can someone please tell me how to slowly change the time during a mission...ie a raid that begins at 1am or so and ends around 6am. ???

Thanks,
Kueter


« Last Edit: 20 May 2003, 01:36:27 by kueter »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:time changes
« Reply #1 on: 20 May 2003, 03:13:20 »
skiptime command ;D

from da command referance

Quote
skipTime duration

Operand types:
duration: Number
Type of returned value:
Nothing
Description:
Skip time. Daytime is adjusted, weather change is estimated, no changes in any units are done. Duration is in hours.

Example:
skipTime 2.5

so if u wanna make script dat skips som time every som secs u do it like dat

Code: [Select]
_how = _this select 0
_wen = _this select 1

#loop
~_wen
skiptime _how
goto "loop"

if u exec it

[0.5,30] exec "scriptname.sqs" it will move 0.5 hr every 30 sec

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta