d0ppler Posted January 14 Posted January 14 (edited) Just to be clear, I know how to do it inside the mission editor, but if there's a way to link a trigger zone to a specific unit with a LUA script, that would help me tremendously. Edited January 14 by d0ppler A-10C, AV-8B, Ka-50, F-14B, F-16C, F-5E, F/A-18C, L-39, Mi-8, MiG-21, MiG-29, SA34, Spitfire, Su-27, Su-33, UH-1H
Wrecking Crew Posted January 14 Posted January 14 I use Mist for that, here are some examples. mist.flagFunc.units_in_zones{ units = {'F-15C 01', 'F-15C 02', 'F-15C 03', 'F-15C 04','M-2000C 21', 'M-2000C 22', 'M-2000C 23', 'M-2000C 24'}, zones = {'01 Sukhumi Zone'}, flag = 90156, toggle = true, } mist.flagFunc.units_in_zones{ units = {'F-15C 01', 'F-15C 02', 'F-15C 03', 'F-15C 04','M-2000C 21', 'M-2000C 22', 'M-2000C 23', 'M-2000C 24'}, zones = {'04 Kras Zone'}, flag = 90456, zone_type = 'sphere', toggle = true, } WC's Script & Mist Examples.lua 1 Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
d0ppler Posted January 14 Author Posted January 14 Thanks a bunch! 1 A-10C, AV-8B, Ka-50, F-14B, F-16C, F-5E, F/A-18C, L-39, Mi-8, MiG-21, MiG-29, SA34, Spitfire, Su-27, Su-33, UH-1H
Recommended Posts