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

12 lines
303 B
Plaintext

//fnc_keyDownSelfAction.sqf
#include "script_component.hpp"
if(!GVAR(keyDownSelfAction)) then {
GVAR(keyDownSelfAction) = true;
GVAR(keyDown) = false;
GVAR(keyDownTime) = diag_tickTime;
GVAR(selfMenuOffset) = [sin getDir ACE_player, cos getDir ACE_player, 0] vectorMultiply 2;
};
true