Barba-negra 117 Posted August 18, 2018 Good afternoon guys, it's a pleasure to say hello, I'm trying to make a scripts that allows you to change the time of the mission in one area and in another area it remains the same, I have managed to do it in a player through this scripts, but in a multiplayer it It has made me very difficult, is there any possibility of doing it? Iniplayerlocal,sqf: waitUntil{ !isNil "BIS_fnc_init" && time > 0 }; _trigger = trg02; if ( player inArea _trigger ) then { skipTime 12; }; _trigger triggerAttachVehicle [ player ]; _trigger setTriggerActivation [ "VEHICLE", "PRESENT", true ]; _trigger setTriggerStatements ["this", " skipTime 12; ", " skipTime -12; "]; Share this post Link to post Share on other sites
davidoss 552 Posted August 18, 2018 unfortunately there are no one. In MP time is synced from server to every client in about 5 sec intervals. If you for example need this for some time shift display effects just simulate it. 1 1 Share this post Link to post Share on other sites
Mr H. 402 Posted August 18, 2018 @elthefrank since you add a similar question in another spot I suggest you read this http://killzonekid.com/arma-scripting-tutorials-locality/ you will understand better what can and can't be done locally. Also here you will find the commands sorted by locality https://community.bistudio.com/wiki/Category:Commands_by_effects_and_arguments_locality 1 Share this post Link to post Share on other sites
Barba-negra 117 Posted August 18, 2018 thanks friends for the help, @davidoss but how could I simulate it? @Mr H. I'm going to check the links Share this post Link to post Share on other sites
Barba-negra 117 Posted August 18, 2018 maybe the setApertureNew can work? Share this post Link to post Share on other sites
Barba-negra 117 Posted August 18, 2018 I need to simulate the night when it is day, is that possible? Share this post Link to post Share on other sites
Crielaard 435 Posted August 18, 2018 I think you can forget that in MP Share this post Link to post Share on other sites
Barba-negra 117 Posted August 18, 2018 I got it, the setApertureNew [1000, 1000, 1000, .1000]; puts you the view as if it were excellent night : D Share this post Link to post Share on other sites
Harzach 2517 Posted August 18, 2018 setAperture is "permanent" until you load/reload a mission, so you'll find that the effect remains in the editor if you are mission-building/testing. Haven't tested, but I assume it's the same for setApertureNew. You can reset it using setApertureNew [-1]; if that is indeed the case. Share this post Link to post Share on other sites
Barba-negra 117 Posted August 18, 2018 excellent @Harzach I just tried it in multiplayer and it works perfectly, this is wonderful guys thanks for the help 2 Share this post Link to post Share on other sites
Harzach 2517 Posted August 18, 2018 It's handy for creating a dark room, as well. 1 Share this post Link to post Share on other sites