Add toggleable Garage Door Opener by salival

This commit is contained in:
A Man
2021-08-18 13:51:05 +02:00
parent 343128bb0c
commit b3871aa321
4 changed files with 101 additions and 2 deletions

View File

@@ -205,7 +205,15 @@ if (!isDedicated) then {
DZE_CLICK_ACTIONS = DZE_CLICK_ACTIONS + [
["ItemGPS",localize "STR_CL_LV_LOCATE_VEHICLES","[] spawn locateVehicle;","true"]
];
};
};
// Garage Door Opener
DZE_GarageDoor_Opener = false; // Enables the option to open Garage Doors from the inside of a vehicle.
if (DZE_GarageDoor_Opener) then {
DZE_GarageDoors = ["CinderWallDoorLocked_DZ","Land_DZE_GarageWoodDoorLocked","Land_DZE_LargeWoodDoorLocked","WoodenGate_1_DZ","WoodenGate_2_DZ","WoodenGate_3_DZ","WoodenGate_4_DZ","Land_DZE_WoodGateLocked","CinderGateLocked_DZ","Land_DZE_WoodOpenTopGarageLocked","CinderGarageOpenTopLocked_DZ"]; // Array of Garage Doors that can be opened.
DZE_GarageDoor_Radius = 30; // Radius from where the Garage Doors can be opened. Higher values may negatively impact the performance
};
// Service Points for Refuel, Repair and Rearm
DZE_Service_Points = false;