Hardware & Technical Target Assistance

Greetings, how can i accomplish the following in target...

After holding down the cms
Button for 4 seconds, send (Num_3)

Thx,

David
 
Last edited:
I hope this is what you are looking for.

From the scripting manual:
TEMPO Command
Tempo is a sub-function of MapKey: it is based on real aviation ergonomics. TEMPO gives the pilot the possibility
of having 2 functions on a single button. A short press will generate the first output; a long press will generate the
other output. This is a feature used on modern fighters.
Syntax:
TEMPO(key1, key2, delay) delay is optional (500 milliseconds is a good value).

Example:
MapKey(&Joystick, TG1, TEMPO('x', 'y')); //short press X, long press Y
MapKey(&Joystick, TG1, TEMPO('x', 'y', 1000)); //if pressed for more than 1 second


So, you will need to change "CMS pressed" button mapping in the TARGET script to something like this:
MapKey(&Joystick, H4P, TEMPO('some_key_mapped_for_short_press', KP3, 4000));

Unfortunately, I have no TARGET\Warthog handy to check if this work properly, but that's a general idea.
 
Back
Top Bottom