OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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.
-
in a triggers activation filed or script put:
skipTime 12
-
that will do it instantly. if you want to show time skipping by (sun setting quickly etc) try this -
_target = 23.0
#loop
skiptime 0.05
~0.1
?not (daytime>=_target) : goto "loop"
attached is a missionette showing the script in action.
-
Could you use setacctime and calculate the amount you'd need for a fast time change?