kvntvan 13 Posted January 12, 2018 Hi there, I'm making a defense op where players will build a base during the day, than when finished building, will use an action to transition it to night time with a fade to black screen saying "13 hours later". I've got this working when i test it on the editor but when i try it on a dedicated server it only works for the person who executed the action. Can anyone point out what I'm doing wrong here? this is the script that the action activates cuttext ["13 HOURS LATER", "BLACK FADED", 999]; "scripts\time.sqf" remoteexec ["execvm"]; (A SCRIPT I'M USING TO CHANGE THE TIME) "scripts\weat.sqf" remoteexec ["execvm"]; (A SCRIPT I'M USING TO CHANGE THE OVERCAST) sleep 1; cuttext [" ","BLACK IN",4]; removeAllActions commander1; (REMOVES THE TIME CHANGE ACTION) I used if (isserver) then {} but it made it so that the action wouldn't even work Share this post Link to post Share on other sites
mrcurry 508 Posted January 13, 2018 Action code is only run on the machine that activates it. To get the effect on all clients you must broadcast. A quick and dirty way would be to just copy what you have into "toNight.sqf" and remoteExec that file with execVM just like you do now for time.sqf and weat.sqf. If you do that also change the current remoteExecs into regular execVMs or you'll get a lot of unnecessary network traffic Share this post Link to post Share on other sites