ACE3/addons/quickmount/XEH_postInitClient.sqf
PabstMirror 1534f8cd8d
Quickmount - Improve interactu menu getIn for static weapon (#7090)
For small static weapons getInNearest would sometimes not detect the vehicle as the `getCameraViewDirection` may be pointing at the interaction node and not the vehicle
2019-07-05 15:22:07 -05:00

11 lines
280 B
Plaintext

#include "script_component.hpp"
if (!hasInterface) exitWith {};
["ACE3 Movement", QGVAR(mount), [localize LSTRING(KeybindName), localize LSTRING(KeybindDescription)], "", {
if (!dialog) then {
[] call FUNC(getInNearest);
};
false
}] call CBA_fnc_addKeybind;