"No collision" Bug

"No collision" Bug

« posted: Sep 02, 2015, 03:31 PM »
Hi.

We have a problem.

We have set the objects, that u can buy on the general store indestructible.

To do this, we have edit the "\server\functions\spawnStoreObject.sqf"

we have edit the following code:
Code: [Select]
_isDamageable = !({_object isKindOf _x} count ["Box_NATO_Ammo_F", "Land_LampHarbour_F", "Land_LampShabby_F", "Land_BarGate_F", "Land_Mil_ConcreteWall_F", "Land_Cargo_Patrol_V1_F", "Land_Cargo_Tower_V1_F", "Land_LightHouse_F", "Land_Cargo_House_V1_F", "Land_Cargo_HQ_V1_F", "Land_City_Gate_F", "Land_Mil_WiredFence_F", "B_Slingload_01_Cargo_F", "B_Slingload_01_Medevac_F", "B_Slingload_01_Repair_F", "B_Slingload_01_Fuel_F", "B_Slingload_01_Ammo_F"] > 0);

[_object, false] call vehicleSetup;
_object allowDamage _isDamageable;
_object setVariable ["allowDamage", _isDamageable];

(Line 174 - 178)

But if the server restarts, some objects have no collision.
You can just run through them.

Can we fix that problem?

We dont want that player destroy the bases of other players...