ACE3/addons/interact_menu/functions/fnc_keyUp.sqf
2015-02-19 10:49:36 -03:00

16 lines
373 B
Plaintext

//fnc_keyUpSelfAction.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