OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: royalman51 on 26 Jun 2005, 10:12:05

Title: fast time
Post by: royalman51 on 26 Jun 2005, 10:12:05
How can i make the time go from 13:00 to 23:00 in a couple seconds. Just like i the mission where Sam Nicolas has to escape.
Title: Re:fast time
Post by: CopyrightPhilly on 26 Jun 2005, 10:15:04
in a triggers activation filed or script put:

skipTime 12
Title: Re:fast time
Post by: bedges on 26 Jun 2005, 10:23:01
that will do it instantly. if you want to show time skipping by (sun setting quickly etc) try this -

Code: [Select]
_target = 23.0

#loop

skiptime 0.05
~0.1

?not (daytime>=_target) : goto "loop"

attached is a missionette showing the script in action.
Title: Re:fast time
Post by: The-Architect on 28 Jun 2005, 19:00:34
Could you use setacctime and calculate the amount you'd need for a fast time change?