mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
Fixed a problem with the cleanup
This commit is contained in:
parent
9e21149f24
commit
6650113e98
@ -35,7 +35,7 @@ uiSleep 1;
|
|||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
// Run Cleanup
|
// Run Cleanup
|
||||||
[_pos] call DMS_CleanUp;
|
[_pos,_crate] call DMS_CleanUp;
|
||||||
|
|
||||||
|
|
||||||
uiSleep 150;
|
uiSleep 150;
|
||||||
|
@ -41,7 +41,7 @@ uiSleep 1;
|
|||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
// Run Cleanup
|
// Run Cleanup
|
||||||
[_pos] call DMS_CleanUp;
|
[_pos,_crate] call DMS_CleanUp;
|
||||||
|
|
||||||
|
|
||||||
uiSleep 150;
|
uiSleep 150;
|
||||||
|
@ -40,7 +40,7 @@ uiSleep 1;
|
|||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
// Run Cleanup
|
// Run Cleanup
|
||||||
[_pos] call DMS_CleanUp;
|
[_pos,_crate] call DMS_CleanUp;
|
||||||
|
|
||||||
uiSleep 150;
|
uiSleep 150;
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ uiSleep 1;
|
|||||||
|
|
||||||
|
|
||||||
// Run Cleanup
|
// Run Cleanup
|
||||||
[_pos] call DMS_CleanUp;
|
[_pos,_crate] call DMS_CleanUp;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ uiSleep 1;
|
|||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
// Run Cleanup
|
// Run Cleanup
|
||||||
[_pos] call DMS_CleanUp;
|
[_pos,_crate] call DMS_CleanUp;
|
||||||
|
|
||||||
uiSleep 150;
|
uiSleep 150;
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ uiSleep 1;
|
|||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
// Run Cleanup
|
// Run Cleanup
|
||||||
[_pos] call DMS_CleanUp;
|
[_pos,_crate] call DMS_CleanUp;
|
||||||
|
|
||||||
uiSleep 150;
|
uiSleep 150;
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ uiSleep 1;
|
|||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
// Run Cleanup
|
// Run Cleanup
|
||||||
[_pos] call DMS_CleanUp;
|
[_pos,_crate] call DMS_CleanUp;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ uiSleep 1;
|
|||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
// Run Cleanup
|
// Run Cleanup
|
||||||
[_pos] call DMS_CleanUp;
|
[_pos,_crate] call DMS_CleanUp;
|
||||||
|
|
||||||
uiSleep 150;
|
uiSleep 150;
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ uiSleep 1;
|
|||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
// Run Cleanup
|
// Run Cleanup
|
||||||
[_pos] call DMS_CleanUp;
|
[_pos,_crate] call DMS_CleanUp;
|
||||||
|
|
||||||
uiSleep 150;
|
uiSleep 150;
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ uiSleep 1;
|
|||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
// Run Cleanup
|
// Run Cleanup
|
||||||
[_pos] call DMS_CleanUp;
|
[_pos,_crate] call DMS_CleanUp;
|
||||||
|
|
||||||
uiSleep 150;
|
uiSleep 150;
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
private ["_pos"];
|
private ["_pos","_crate"];
|
||||||
_pos = _this select 0;
|
_pos = _this select 0;
|
||||||
|
_crate = _this select 0;
|
||||||
deleteMarker "DMS_MainMarker";
|
deleteMarker "DMS_MainMarker";
|
||||||
deleteMarker "DMS_MainDot";
|
deleteMarker "DMS_MainDot";
|
||||||
uiSleep DMS_CleanUpTimer;
|
uiSleep DMS_CleanUpTimer;
|
||||||
@ -16,7 +17,7 @@ uiSleep DMS_CleanUpTimer;
|
|||||||
_x removeAllEventHandlers "GetIn";
|
_x removeAllEventHandlers "GetIn";
|
||||||
_x removeAllEventHandlers "Local";
|
_x removeAllEventHandlers "Local";
|
||||||
// clearVehicleInit _this;
|
// clearVehicleInit _this;
|
||||||
deleteVehicle _x;
|
deleteVehicle _crate;
|
||||||
deleteGroup (group _x);
|
deleteGroup (group _x);
|
||||||
_x = nil;
|
_x = nil;
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user