Jump to content
Rawshark

Hide Respawn position marker on map

Recommended Posts

I have setup a Mobile HQ where a trigger spawned vehicle can be interacted with via addAction and be set as an infantry spawn point. However, doing so seems to create a respawn marker on the map: Example . Is there any way to remove this from the map or make it invisible?

For context, I am calling in a BIS_fnc_addRespawnPosition via a script from an addAction that looks like this:

params ["_target", "_caller", "_id", "_args"];
[ side _caller, _target, "MHQ" ] call BIS_fnc_addRespawnPosition;
[(_this select 0) removeaction (_this select 2)];

I don't have a clue as to how to proceed from here in hiding that respawn marker. Any help would be amazing, ty!!!

Share this post


Link to post
Share on other sites

Easiest workaround I can think of is using setMarkerAlpha, you can get that marker using allMapMarkers, getMarkerPos and distance2D.  Maybe a nearestMarker command also exist?  Idk. 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×