ACE3/addons/interact_menu/functions/fnc_keyUpSelfAction.sqf
2015-02-18 18:58:06 -03:00

16 lines
367 B
Plaintext

//fnc_keyUp.sqf
#include "script_component.hpp"
GVAR(keyDownSelfAction) = 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