Profile image

No target selected

8,602 JCTECHNOLOGIES  3.3 years ago

How to make sure that something deactivates if there is no target selected?

  • Log in to leave a comment
  • Profile image

    @edensk thanks

    3.3 years ago
  • Profile image
    16.4k edensk

    TargetSelected & TargetDistance <= 5000 & Activate2

    3.3 years ago
  • Profile image

    @edensk I mean like for guns and stuff not for rotators XD I want it to be activated by activation 2 under the condition that a target is selected and under 5001metres away than I can shoot

    3.3 years ago
  • Profile image
    16.4k edensk

    TargetSelected ? (something) : 0 or clamp01(TargetSelected)*(something)

    3.3 years ago