PDA

View Full Version : How do i create fast time for my SP mission?



AussieTerry84
Jun 6 2009, 20:27
I'm just making a large SP mission to muck around in and test out these new modules, i'd really like to make it so that it has fast time so im not always fighting in daylight or only in the night time.

How do i go about doing this? i searched "fast time" but couldn't find anything useful.

thanks :)

DaveP
Jun 6 2009, 22:29
setacctime will speed up the passage of time, but in a fastforward/slow motion sort of way, not what you're after.


I imagine a script that was in a loop and used skipTime with a low interval could make the clock run faster

trini scourge
Jun 7 2009, 03:01
Like DaveP said you're probably going to want to use skipTime.

Many useful examples HERE (http://community.bistudio.com/wiki/skipTime)
I haven't tested the commands with Arma 2 yet though.

LJF
Jul 15 2009, 10:57
Put the following code into a .sqs file and call it on an object/character by putting "dumvar = [this] execVM "time.sqs";" into the init line of the object/character, "time" being the name of your script. You need to have something called player though I think, I used a rifleman on the other side of the island but it might work without anything.


while {alive player} do {
skiptime 0.00933;

sleep 0.00002;
};