Jump to content

Nav lights trigger


WelshZeCorgi

Recommended Posts

Is there a way to trigger something (like turning green states to red states) if players enter a zone with nav lights on? 

 

I'm trying to get enemy units to go from green states to red states if clients enter the AO with their nav lights on. (It's 2am and the nav lights would probably be spotted and ruin the surprise attack the mission is based around.)

Link to comment
Share on other sites

9 hours ago, WelshZeCorgi said:

Is there a way to trigger something (like turning green states to red states) if players enter a zone with nav lights on?

Here are two .miz example with A10C II. I think it can only work for single player, since it uses trigger's condition : cockpit argument.

(4 arguments are checked : position/formation/antiCollision lights and pinky switch - because pinky can enforce ext lights, or on the opposite deactivate ext lights)

The one named testing displays a toggling message when any combination makes external lights working (even 1 cranck of formation lights but it is tunable).

The one named SAM-Alert sets SAM Red + a message if Player is inside the zone with any combination that makes external lights working.

You can find cockpit arguments in clickabledata.lua and Hotas arguments in HOTAS\HOTAS_commands.lua, both in Cockpit\Scripts\ folder for each module.

test-EXT-light-SAM-Alert.miz test-EXT-light-testing.miz

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...