Profile image

How can i make periodic flares?

32 vekiveki8  2.6 years ago

So does anyone know how can i make any button periodic. For example:
If i bind it to V, when i press V, it automatically presses it evry half secound or so
and then when i press V again it stops?

  • Log in to leave a comment
  • Profile image

    @HuskyDynamics01 Thank you very much!!

    +1 2.6 years ago
  • Profile image

    @vekiveki8 Actually, I just realized there's an easier way to do it that does work with countermeasures. If you set a button to the "Launch Countermeasures" input option, and then add the following lines to the button's XML via Overload:
    interactionType : Toggle

    The button will remain on when pressed, and the countermeasures will fire at a constant rate until you turn the button off again.

    Not entirely sure how to do this sort of thing for a non-countermeasure thing, but this should work for flares or chaff.

    +2 2.6 years ago
  • Profile image

    @HuskyDynamics01 so can i at least make it with some program

    2.6 years ago
  • Profile image

    I'd imagine you could set something up using the repeat() function, but not specifically for countermeasures (since you can't customize their input).

    2.6 years ago
  • Profile image
    11.6k JesusChrist

    you can't

    2.6 years ago