All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 38s
remove now unneeded custom tire patching ace interaction
34 lines
709 B
Plaintext
34 lines
709 B
Plaintext
if ( !hasInterface ) exitWith {};
|
|
|
|
_checkFuel =
|
|
[
|
|
"CheckFuel",
|
|
"Check Fuel",
|
|
"",
|
|
{
|
|
hint format ["Fuel: %1%2", floor (fuel _target *100), "%"];
|
|
},
|
|
{true}
|
|
] call ace_interact_menu_fnc_createAction;
|
|
|
|
["LandVehicle", 0, ["ACE_MainActions"], _checkFuel, true] call ace_interact_menu_fnc_addActionToClass;
|
|
|
|
|
|
_unflip =
|
|
[
|
|
"Unfuck",
|
|
"Flip Vehicle",
|
|
"",
|
|
{
|
|
_target setpos [(getpos _target) select 0,(getpos _target) select 1, 0.5];
|
|
_target setVectorUp surfaceNormal position _target;
|
|
},
|
|
{true}
|
|
] call ace_interact_menu_fnc_createAction;
|
|
|
|
["LandVehicle", 0, ["ACE_MainActions"], _unflip, true] call ace_interact_menu_fnc_addActionToClass;
|
|
|
|
|
|
diag_log text "[MILSIM] (client) vehicle actions bound";
|
|
|
|
nil; |