Browse Source

Limit to OPFOR units, and lock the vehicles

m3ales 4 years ago
parent
commit
c1bc558d93
1 changed files with 2 additions and 2 deletions
  1. 2 2
      addons - Copy/RD501_Main/XEH_postinit.sqf

+ 2 - 2
addons - Copy/RD501_Main/XEH_postinit.sqf

@@ -142,9 +142,9 @@ call macro_fnc_name(stun);
 {
 	private _idx = _x addEventHandler ["CuratorObjectPlaced", {
 		params ["_curator","_entity"];
-		if!(_entity isKindOf "Man") then {
+		if!(_entity isKindOf "Man" && side _entity == east) then {
 			_entity allowCrewInImmobile true;
-            _entity setVehicleLock "LOCKED";
+			_entity setVehicleLock "LOCKED";
 			{
 				_x disableAI "FSM";
 				_x setBehaviour "CARELESS";