Explorar el Código

Limit to OPFOR units, and lock the vehicles

m3ales hace 4 años
padre
commit
c1bc558d93
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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";