rejenorst 18 Posted October 9, 2015 Is there a simple way to hide the player marker on briefing at start? Note I dont want to hide it after the briefing. Share this post Link to post Share on other sites
R3vo 2654 Posted October 9, 2015 Put the following at the end of your init.sqf and see if that works. { _x setMarkerAlpha 0; } forEach allMapMarkers; waitUntil{sleep 1; (time>1)} { _x setMarkerAlpha 1; } forEach allMapMarkers; Share this post Link to post Share on other sites
rejenorst 18 Posted October 9, 2015 Ah that command might do it. Might try this so that my user defined markers remain for the briefing. Not sure if it will work but will try it tomorrow. Thanks :D if (not ("_USER_DEFINED #" in allMapMarkers)) then { _x setMarkerAlpha 0 }; Share this post Link to post Share on other sites
Joe98 91 Posted October 9, 2015 Or: set the size of the marker to zero and that makes it invisible. Afterwards set it back to its normal size. Share this post Link to post Share on other sites
rejenorst 18 Posted October 9, 2015 Well I tried playing around with it with mixed results. In the editor it worked and removed only the unit markers and left my user defined map markers alone. Exporting the mission however; Player marker remained on briefing but once in the mission all my markers where gone and infantry/player markers remained. So basically the opposite. Was really weird. I used this: {if (_x find "_USER_DEFINED #" < 0) then {_x setMarkerAlpha 1};} forEach allMapMarkers; With the change marker size suggestion I am not sure if default marker sizes are all the same. Share this post Link to post Share on other sites
Joe98 91 Posted October 9, 2015 It does not matter what size it starts at. You can always set it to zero. . Share this post Link to post Share on other sites
rejenorst 18 Posted October 10, 2015 Yeah thats true but I want to re-enable the markers later after mission start. Just for the briefing screen I would like to hide where I've placed the player as he will be setpos'd into a boat out in the ocean later. Share this post Link to post Share on other sites
Joe98 91 Posted October 10, 2015 So, place a trigger on the map. As the mission starts the soldier fires the trigger - and the marker is set back to it's normal size. From the player's point of view - there is no marker visible in the briefing but it is visible when the mission starts. Share this post Link to post Share on other sites
rejenorst 18 Posted October 10, 2015 Was testing allmarkers but the infantry marker for player doesn't seem to show up in array: hint str(allMapMarkers). By that I mean the automatically generated inf dot. Share this post Link to post Share on other sites