A simple DCS Script for creating No-Fly-Zones for each coalition. Rather than creating an individual trigger for each aircraft, checking if they're in enemy air space, and exploding just that one unit. This script will do it with just 1 trigger per zone!
Can be found here: https://github.com/mrSkortch/MissionScriptingTools
- Create a ONCE trigger with a TIME MORE (1) and DO SCRIPT FILE mist.lua
- Create a ONCE trigger with a TIME MORE (2) and DO SCRIPT FILE outofmyzone.lua
- Create a zone to cover the area you want to protect.
- Create a REPETITIVE trigger
- Conditions: PART OF COALITION IN ZONE [enemy coalition, zone name, ALL]
- Actions: DO SCRIPT
outofmyzone('coalition to protect', 'zone name')
[Ex:outofmyzone('blue', 'Zone-1')
] - Repeat for as many zones as you want!
When an enemy unit crosses over the border of the zone, the script will create a 100 size explosion to destroy it. Then it will have pop up text saying "(Unit-Name) (Player-Name) entered enemy territory and has been eliminated" for 15 seconds