Browse Source

Make CCP ignore collision when spawning.

M3ales 3 years ago
parent
commit
ff37d9d7a7

+ 2 - 2
addons - Copy/RD501_Main/functions/medical_ccp/fnc_deployCCPServer.sqf

@@ -18,8 +18,8 @@ params["_target"];
 
 _position = position _target;
 deleteVehicle _target;
-_spawner = rd501_medical_ccp_building createVehicle _position;
+_spawner = createVehicle[rd501_medical_ccp_building, _position, [], 0, "CAN_COLLIDE"];
 systemChat format["Deployed CCP"];
 
 _jipId = ["rd501_medical_ccp_deployCCPLocal", [_spawner]] call CBA_fnc_globalEventJIP; // raise on all clients (we should be on server)
-[_jipId, _spawner] call CBA_fnc_removeGlobalEventJIP;
+[_jipId, _spawner] call CBA_fnc_removeGlobalEventJIP;