Wrecking Crew Posted August 24, 2013 Posted August 24, 2013 I'm looking for a script -- To detect when a large aircraft has landed at a base. I want to use the resulting flag = true to supply the base with my new spawned units. I have single-unit aircraft groups called: RDR AGrp01-1 Cargo RDR AGrp01-2 Cargo With respective unit names: RDR AGrp01-1 RDR AGrp01-2 I want a script to set a flag when these a/c come to a halt after landing. They are landing in a defined zone, which is important... - Zone = 'Gudauta Cargo Zone' After an aircraft lands, taxis, and parks is when I want the respective flag to go True. If the a/c lands but is destroyed before coming to a halt then no flag. These are cargo a/c and must come to a halt to off load their supplies. The flag cannot be set True if the a/c is dead, or goes to zero speed anywhere outside of the Gudauta Cargo Zone. WC 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.
kontiuka Posted August 25, 2013 Posted August 25, 2013 It has to be a script? You can't use the 'Unit Inside Zone' and 'Unit Speed Lower Than' conditions?
Laud Posted August 25, 2013 Posted August 25, 2013 What I would do: 1. Let the respective AC l and and observe to which parking position it will taxi. 2. Place a small Trigger Zone at the parking position, and create a trigger with 'unit (or group) in zone', setting a certain flag. 3. Add a trigger with 'time since flag' (for example 300 sec for unloading) AND 'unit (or group) alive' to set another flag. 4. Add a trigger with 'flag is true [your #]' and 'group activate [your reinforcements/supplies]' [sIGPIC][/sIGPIC] Asus ROG STRIX Z390-F Gaming, Intel Core i7 9700k , 32gb Corsair DDR4-3200 Asus RTX 2070 super, Samsung 970 EVO Plus M2, Win10 64bit, Acer XZ321QU (WQHD) TM HOTAS Warthog, SAITEK Rudder Pedals, TIR 5
Wrecking Crew Posted August 25, 2013 Author Posted August 25, 2013 Yes, it has to be a script. WC 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.
Recommended Posts