瀏覽代碼

Limit to OPFOR units, and lock the vehicles

m3ales 4 年之前
父節點
當前提交
c1bc558d93
共有 1 個文件被更改,包括 2 次插入2 次删除
  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";