Home   Help Search Login Register  

Author Topic: How do i make the "skiptime" command for every second that passes?  (Read 1877 times)

0 Members and 1 Guest are viewing this topic.

tai mai shu

  • Guest
hi, how im wondering how i make the "skiptime" command  activate for every second that passes ingame.

for example, every second that passes in real-time, the "in-game" time skips 5 seconds.

seanver

  • Guest
try in a script

#loop

skiptime 0.084
~1

goto "loop"

tai mai shu

  • Guest
sweet, thanks m8

_54th_Yoshi

  • Guest
How can you make it so time during the night is faster than day?

Cedaie

  • Guest
theres probably a night time thing that u can use to question whether its night time then ud write

#loop

skiptime 0.084
~1
? (is nighttime):goto "nightloop"
goto "loop"

#nightloop

skiptime 0.200
~1
? (is daytime):goto "loop"
goto "nightloop"

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
theres a new command in 1.75 that checks if it is nighttime or not - look at the official command reference
Proud Member of the Volunteer Commando Battalion

_54th_Yoshi

  • Guest
i don't have the res expansion  :(

tai mai shu

  • Guest
hmm,this is gonna be for multiplayer map.

ive heard somewhere that the ~1 command is slightly different on ALL computers. so some computers will go thru the day slighyty faster or slower than others.  over a period of 30 minutes, it could causee quite a big error.

is this true?

if so, can someone plz explain how to run the comand on the SERVERS computer.  so only the server computer counts the ~1 command, and then sends a public variable to the other client computers  which in turn sets offf the skiptime command???? help????

peace
tai mai shu