ACE3/addons/interact_menu/functions/fnc_keyDown.sqf

20 lines
267 B
Plaintext
Raw Normal View History

2015-02-21 20:11:03 +00:00
/*
* Author: NouberNou
* Handle interaction key down
*
* Argument:
* None
*
* Return value:
* true <BOOL>
*
* Public: No
*/
2015-01-18 18:38:27 +00:00
#include "script_component.hpp"
if(!GVAR(keyDown)) then {
2015-02-19 13:49:36 +00:00
GVAR(keyDown) = true;
GVAR(keyDownTime) = diag_tickTime;
2015-01-18 18:38:27 +00:00
};
true