hicks88 0 Posted May 1, 2006 does anyone know the script for fast time. it causes time to pass fast without causing the units to move fast Share this post Link to post Share on other sites
mandoble 1 Posted May 1, 2006 Set global variable stopmodtime to true to return to normal time scaling [scale factor]exec"timemod.sqs" <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> stopmodtime=false _scale = _this select 0 _tensecs = (1.0/3600.0)*10.0 _skip = _tensecs * _scale ;Every ten seconds we skip 10 seconds * scale factor hours #modtime ~10 skipTime _skip ? !stopmodtime: goto "modtime" exit For example, for twice the normal time speed: [2.0]exec"timemod.sqs" Share this post Link to post Share on other sites
nominesine 0 Posted May 1, 2006 I believe you want skipTime, a command that makes the clock skip a few hours, right? It workd like this: skipTime 2 Put it in a trigger or a script. It will skip two hours of clock time, without affecting units etc. Mandobles example is a good way to use it. Share this post Link to post Share on other sites
hicks88 0 Posted May 2, 2006 i wanted the first reply, thankyou Mandoble. i changed the ten seconds to .01 of a second and make it skip 1 second, it makes it appear as iff time is passing really fast, i day goes through in like 30 mins, so you get day and night ops in a single mission Share this post Link to post Share on other sites
Guest Posted May 2, 2006 not to poke in here, but I thought there was a command like accelerate time or something similiar that did this in one quick shot, or maybe I was wrong.. Share this post Link to post Share on other sites
karantan 0 Posted May 2, 2006 Yes, there's such a command; setAccTime. For instance: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> setAccTime 10 will make time to go ten times faster, but also the units will move ten times faster, which hicks88 try to avoid. Share this post Link to post Share on other sites
Guest Posted May 2, 2006 gotcha, thanks for making that difference, I will probably be using this function as well (accel time only, not units/whatnot) - good to know, great thread, copied and pasted. Share this post Link to post Share on other sites