JohnBravo 10 Posted July 13, 2013 Hi All i just wonder i need make skip time? Like change to day time to night time in this game or change times i need script for this Thanks Share this post Link to post Share on other sites
kylania 568 Posted July 13, 2013 (edited) http://community.bistudio.com/wiki/skipTime The thing to notice about that is that it's a Local command, meaning everyone needs to run it or it'll be day for some and night for others. What I've done before for a day/night toggle is two triggers, two scripts and an addaction on the training commander. Commander's addActions: this addAction["Set Day","setday.sqf",[],1,false,true]; this addAction ["Set Night","setnight.sqf",[],1,false,true]; That gave the guy in charge two addAction to turn it to day or night. The scripts were as follows: setDay.sqf: nighttime = false; publicVariable "nighttime"; sleep 1; lighttime = true; publicVariable "lighttime"; setNight.sqf: lighttime = false; publicVariable "lighttime"; sleep 1; nighttime = true; publicVariable "nighttime"; Basically the addActions just set or unset a variable that triggers were looking for. Looks like I was using setDate actually. Trigger Condition of lighttime onAct of setDate [2009, 10, 6, 12, 0]; Trigger Condition of nighttime onAct of setDate [2009, 10, 6, 1, 0]; Edited July 13, 2013 by kylania Share this post Link to post Share on other sites
JohnBravo 10 Posted July 13, 2013 Lol Operation Flashpoint {old game} But it dont say what to put in...trigger? or init? or marker? Share this post Link to post Share on other sites
kylania 568 Posted July 13, 2013 Posted some more details about how I've done this before. skiptime would best be run from a trigger so it's run on all clients I suppose. Share this post Link to post Share on other sites
filamod 3 Posted July 13, 2013 There is a skip time module in A3 where you can set how many hours to skip. Just syinc it to trigger and when trigger goes on the time skip. (I think it runs to all clients) Share this post Link to post Share on other sites