Jump to content
  • 0

Delete ai patrol on mission complete


OSMOX

Question

Trying to figure out how to make the ai patrols delete on mission complete on the DZMS that BetterDeadThanZed did. 

This is whats int the mission..

//Spawn patrol
_patrol = ["patrol"] call DZMSGetVeh;
[_coords,[(_coords select 0) + 30, (_coords select 1) + 30, 0],150,2,_patrol,31] call DZMSVehiclePatrol;

 

End of mission

diag_log text format["[DZMS]: Major SM1 %1 Mission has Ended.", _missName];
deleteMarker "DZMSMajMarker";
deleteMarker "DZMSMajDot";

 

trying to add in delete of patrol veh as soon as the mission ends

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...