Tackle Posted June 2, 2015 Posted June 2, 2015 (edited) So I am building my first MP mission and mostly I´m doing fine, but there is one thing I just can´t figure out: I would like to have a trigger working whenever a Blue A-10 (Client) enters a zone, and only then. Not when a Blue AI Plane enters that Zone and not when a Blue Ground Unit enters that Zone. I can´t find any condition for this so I´m hoping there´s either something that can be done using MIST or some lua magic ?? Any and all help greatly appreciated. -T Edited June 2, 2015 by Tackle Changed Player to Client [sIGPIC][/sIGPIC]
mwd2 Posted June 2, 2015 Posted June 2, 2015 Continuous Action // Unit Inside Zone(Player, Zone) // Message to All(BlaBla) Playing: DCS World Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815
Tackle Posted June 2, 2015 Author Posted June 2, 2015 Continuous Action // Unit Inside Zone(Player, Zone) // Message to All(BlaBla) Thanks for the quick response! This was actually something I figured, but forgot to mention. Problem here is that I have to list all the Player Names/ Units and that once the trigger fires it does stutter a bit. That Stutter I don´t have when I use "Part of Coalition in Zone". I was hoping there would be a more elegant, and less time intensive Method. [sIGPIC][/sIGPIC]
mwd2 Posted June 2, 2015 Posted June 2, 2015 You have say Player not Client! The Continuous Action can give you trouble - try Switch Condition Playing: DCS World Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815
Tackle Posted June 2, 2015 Author Posted June 2, 2015 You have say Player not Client! The Continuous Action can give you trouble - try Switch Condition Sorry that I did confuse you - thinking when saying that I build a MP mission a player would equal a client. Anyway, fixed that for further readers. Ok, so at present my Action looks the following: "Switched Condition/ Unit 1 (Client A) or Unit 2 (Client B) or Unit 3 (Client C) and so on in Zone/ Activate Unit" This works but when activated it does stutter. If I change to "Switched Condition/ Part of Coalition in Zone/ Activate Unit" it doesn´t stutter but also activates when an AI plane or tank enters the zone. [sIGPIC][/sIGPIC]
ESAc_matador Posted June 3, 2015 Posted June 3, 2015 Put ONCE isntead of switched if you want just activate the unit. Switched is, when you want an action ocurrs everytime you enter the trigger zone. In this case, just once is ok.
Wrecking Crew Posted June 3, 2015 Posted June 3, 2015 Like this -- with a simple Do Script -- --- Erl Sis, detect F-15Cs mist.flagFunc.units_in_zones{ units = {'F-15C 01','F-15C 02','F-15C 03','F-15C 04'}, zones = {'04 Air Zone'}, flag = 90457, zone_type = 'cylinder', toggle = true, } --- end of Erl Sis, detect F-15Cs See the events in the mission -- Erl Sis Mission WC's Mist Examples WC 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.
Tackle Posted June 3, 2015 Author Posted June 3, 2015 Like this -- with a simple Do Script -- --- Erl Sis, detect F-15Cs mist.flagFunc.units_in_zones{ units = {'F-15C 01','F-15C 02','F-15C 03','F-15C 04'}, zones = {'04 Air Zone'}, flag = 90457, zone_type = 'cylinder', toggle = true, } --- end of Erl Sis, detect F-15CsSee the events in the mission -- Erl Sis Mission WC's Mist Examples WC That´s it! Thank you WC - you´re da man! :) [sIGPIC][/sIGPIC]
ESAc_matador Posted June 3, 2015 Posted June 3, 2015 That´s it! Thank you WC - you´re da man! :) You have to previously load the Mist script.
Tackle Posted June 4, 2015 Author Posted June 4, 2015 You have to previously load the Mist script. Thank you, I did know that :) [sIGPIC][/sIGPIC]
Recommended Posts