doc. caliban 34 Posted April 6, 2017 Hello. I have the following that runs in the init.sqf: { if (_x find "gz" == 0) then { _x setMarkerAlpha 0; }; } forEach allMapMarkers; The intended markers have their alphas set to 0 when viewed in-game, but they are still visible at the MP briefing map. Where should I run the code so that it will take place before the briefing map? Thank you, -Doc Share this post Link to post Share on other sites
sarogahtyp 1108 Posted April 7, 2017 idk when exactly those markers are created in armas init order I would try to make a function with preInit attribute set to 1 in functions library. Those function will run automaticaly before init.sqf is executed (see init order). 1 Share this post Link to post Share on other sites
killzone_kid 1331 Posted April 7, 2017 have you tried to put it in initIntro.sqf? Share this post Link to post Share on other sites
xjoker_ 25 Posted April 7, 2017 What I do is creating the markers when needed, instead of hiding them at start. Share this post Link to post Share on other sites
doc. caliban 34 Posted April 7, 2017 Thank you for the replies, guys. Busy day today, so I may not get to try things until tomorrow. Quick note: The markers are numerous area markers that are manually laid out as part of using Gaia AI scripts. I usually just set their alpha to 0 myself just before exporting the mission to MP, but sometimes I forget. The script is a failsafe for that. Thanks again! -Doc Share this post Link to post Share on other sites
doc. caliban 34 Posted April 8, 2017 Guys, sorry... I'm a dummy. I had the code running after this line: waitUntil {time > 0}; DUH. No wonder it wasn't working. All is well now. I really appreciate your replies though as now I'm learning about some of the things you brought up. Best, -Doc Share this post Link to post Share on other sites