Hey guys, for some reason my repair option on the scroll wheel is not showing up. I'm using epoch Taviana, 1.0.4. I've been trying to tinker within the fn_selfActions.sqf to try and get it back. Anyone tell me what's wrong within the file? Here is part of my fn_selfActions file that has to do with the repair. I have self bb, suicide, salvage, auto refuel, building snap.
Code:
scriptName "Functions\misc\fn_selfActions.sqf";
//Repairing Vehicles
if ((dayz_myCursorTarget != _cursorTarget) and _isVehicle and !_isMan and _hasToolbox and (damage _cursorTarget < 1)) then {
if (s_player_repair_crtl < 0) then {
dayz_myCursorTarget = _cursorTarget;
_menu = dayz_myCursorTarget addAction [localize "str_actions_rapairveh", "\z\addons\dayz_code\actions\repair_vehicle.sqf",_cursorTarget, 0, true, false, "",""];
_menu1 = dayz_myCursorTarget addAction ["Salvage Vehicle", "Scripts\salvage_vehicle.sqf",_cursorTarget, 0, true, false, "",""];
s_player_repairActions set [count s_player_repairActions,_menu];
s_player_repairActions set [count s_player_repairActions,_menu1];
s_player_repair_crtl = 1;
} else {
{dayz_myCursorTarget removeAction _x} forEach s_player_repairActions;s_player_repairActions = [];
s_player_repair_crtl = -1;
};
};