ACE3/addons/interact_menu/functions/fnc_keyUp.sqf

16 lines
357 B
Plaintext
Raw Normal View History

2015-01-18 18:38:27 +00:00
//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