Shifty65 2 Posted January 12, 2021 Hey all, I'm working on a MP mission were the players clear 2 Objectives. When the Obj. are cleared i want them to go to sleep and wake up 6 hours later. This all I want to do in a black screen. I've (stole) other scripts and put them together and so far i have this: if (isDedicated) then {}; sleep 1; _output = "<t color='#ffffff' size='0.6' font='PuristaLight' shadow='1'>Objectives done,"+ "<t color='#ffffff' size='0.6' font='PuristaBold' shadow='1'> Let's rest for a while.</t>"; [[_output, 0, 0.5, 8, 1],"BIS_fnc_dynamicText"] call BIS_fnc_MP; sleep 2; CutText ["","Black out",1]; sleep 1; _output = "<t color='#ffffff' size='0.6' font='PuristaLight' shadow='1'>12 HOURS LATER...."+ "<t color='#ffffff' size='0.6' font='PuristaBold' shadow='1'> SOMEWHERE DEEP IN THE JUNGLE.</t>"; [[_output, 0, 0.5, 8, 1],"BIS_fnc_dynamicText"] call BIS_fnc_MP; skipTime 14; { if(side _x == west) then { _x SetPos getMarkerPos "part2"; } } foreach allPlayers; sleep 2; CutText ["","Black in",1]; It all works fine in SP (Editor) but not in MP on our Dedicated server. There is no blackscreen. Can somebody help me please. Share this post Link to post Share on other sites
pierremgi 4739 Posted January 12, 2021 Why this line? if (isDedicated) then {}; Other remark: You want to display a dynamic text. Displays should stay local. (so the code must be ready on each client PC). Then, all you have to do on server, is to trigger this code at due time. You'll gain in performance. Make a trigger (not server only) or publicVariable a variable for setting TRUE a condition (everywhere locally). Share this post Link to post Share on other sites
Shifty65 2 Posted January 13, 2021 Why this line? if (isDedicated) then {}; Well to be honest i "Borrowed" this script lines from other missions. I'm still learning scripting. I looked at a few tutorials for publicVariables but it's hard to understand as a NOOB. So I think i'm going to learn scripting better so i can make my own scripts, "Borrow" other script lines is nice but with only the Basics for scripting I have no clue how to start making my own scripts. Thanks pierremgi for your help!!! Share this post Link to post Share on other sites