ACE3/addons/interact_menu/functions/fnc_keyUp.sqf
2015-01-18 10:38:27 -08:00

16 lines
357 B
Plaintext

//fnc_keyUp.sqf
#include "script_component.hpp"
GVAR(keyDown) = false;
if(GVAR(actionSelected)) then {
this = GVAR(selectedTarget);
_player = ACE_Player;
_target = GVAR(selectedTarget);
[GVAR(selectedTarget), player] call GVAR(selectedAction);
};
GVAR(expanded) = false;
GVAR(lastPath) = [];
GVAR(menuDepthPath) = [];
GVAR(vecLineMap) = [];
true