Add Salivals Remote Vehicle to Epoch Core

Functions getting only loaded if DZE_Remote_Vehicle is true.
This commit is contained in:
A Man
2021-08-17 21:53:54 +02:00
parent c4919d65e5
commit a9500b4e6e
6 changed files with 528 additions and 0 deletions

View File

@@ -179,6 +179,18 @@ if (!isDedicated) then {
["ItemGPS",localize "STR_CL_CA_RANGE_DOWN","if(isNil 'CA_GPS_RANGE') then {CA_GPS_RANGE = 1500;};CA_GPS_RANGE = (CA_GPS_RANGE - 100) max 1000; format[localize 'STR_CL_CA_RANGE_GPS',CA_GPS_RANGE] call dayz_rollingMessages;","true"]
*/
];
DZE_Remote_Vehicle = false; // Enable/Disable the Remote Vehicle options like ejecting players from a vehicle or lock/unlock the vehicle from the distance just by the key.
if (DZE_Remote_Vehicle) then {
DZE_CLICK_ACTIONS = DZE_CLICK_ACTIONS + [
["ItemKey",localize "STR_CL_RV_CA_EJECT","spawn remoteVehicle;","true",1],
["ItemKey",localize "STR_CL_RV_CA_ENGINE","spawn remoteVehicle;","true",2],
["ItemKey",localize "STR_CL_RV_CA_UNLOCK","spawn remoteVehicle;","true",3],
["ItemKey",localize "STR_CL_RV_CA_LOCK","spawn remoteVehicle;","true",4],
["ItemKey",localize "STR_CL_RV_CA_LIGHTS","spawn remoteVehicle;","true",5]
];
};
};
// Both