Jump to content
Sign in to follow this  
TheHypnoo

Remove Markers in Local...

Recommended Posts

Hello, my problem is that I want to remove more than one Marker. I get the command, but I can only delete a string instead of Array. How can I do it?

Share this post


Link to post
Share on other sites

You'll have to put the deleteMarker(Local) command in a loop if you want to delete an array of marker strings.

So instead of:

deleteMarkerLocal "marker_1";

You do:

{deleteMarkerLocal _x;} forEach ["marker_1","marker_2","marker_3"];

 

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
Sign in to follow this  

×