Pārlūkot izejas kodu

Limit to OPFOR units, and lock the vehicles

m3ales 4 gadi atpakaļ
vecāks
revīzija
c1bc558d93
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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";