Printable Version of Topic

Click here to view this topic in its original format

Armed Assault Info Forums _ Mission Editing & Scripting _ Advance Time

Posted by: el_duderino Aug 31 2012, 21:47

Hey guys trying to set up a dynamic mission that allows the player to stop at any point and advance the in-game time a set amount of hours to full control over what time of day or night they choose to execute the next phase of the mission. Tried using the addaction and acctime commands but it dosnt work the way I want it to. Any help would be much appreciated.

Posted by: D@V£ Sep 1 2012, 00:14

acctime just returns the current time dilation, use http://community.bistudio.com/wiki/setAccTime to control it, the syntax is like this:

CODE
Setacctime X

Where X any number (the default rate of time is 1, so "setacctime 2" would make time go twice as fast, and "setacctime 0.5" would make it go twice as slow.

Alternatively, if you just want to change the time of day without simulating several hours, you can use http://community.bistudio.com/wiki/skipTime or http://community.bistudio.com/wiki/setDate.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)