mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
78a55d4436
* Generic cycle attack profile key for missile guidance * Add hint for weapons without huds * Fix Korean strings * Cleanup
21 lines
495 B
Plaintext
21 lines
495 B
Plaintext
// by commy2
|
|
|
|
["ACE3 Weapons", QGVAR(lockTarget), localize LSTRING(LockTarget),
|
|
{
|
|
if (GETGVAR(isLockKeyDown,false)) exitWith {false};
|
|
|
|
GVAR(isLockKeyDown) = true;
|
|
TRACE_1("lock key down",GVAR(isLockKeyDown));
|
|
|
|
// Return false so it doesn't block the rest weapon action
|
|
false
|
|
},
|
|
{
|
|
// prevent holding down
|
|
GVAR(isLockKeyDown) = false;
|
|
TRACE_1("lock key up",GVAR(isLockKeyDown));
|
|
|
|
false
|
|
},
|
|
[15, [false, false, false]], false] call CBA_fnc_addKeybind; //Tab Key
|