Para_Bellum Posted February 23, 2016 Posted February 23, 2016 I want to simulate an airfield attack. I've created a mock AF on the NTTR map. Now I want a "mission succesful" message once a certain percentage of all red objects (static objects and vehicles) within a trigger zone have been destroyed. Any idea how to do that?
Para_Bellum Posted February 23, 2016 Author Posted February 23, 2016 Nevermind, just placed invisible infantry in all structures. :)
Majinbot Posted February 23, 2016 Posted February 23, 2016 Use MIST PC: i7-13700K - Gigabyte RTX 5080 GAMING OC - 64GB DDR5 6400 - VPC MongoosT-50CM3 - VKB GF pro - MFG Crosswind - Msi MPG321UR-QD + LG OLED 32GS95UE - TrackIR5 - Quest 3
EasyEB Posted February 23, 2016 Posted February 23, 2016 Please tell me more about using mist to register destroyed static objects!
Stonehouse Posted February 23, 2016 Posted February 23, 2016 If you don't mind making the mission mod dependent then Lilkiki's fire objects are possibly better than infantry units http://forums.eagle.ru/showpost.php?p=2545192&postcount=39
Majinbot Posted February 24, 2016 Posted February 24, 2016 Please tell me more about using mist to register destroyed static objects! MIST: http://forums.eagle.ru/showthread.php?t=98616 Function: mist.flagFunc.mapobjs_dead_zones PC: i7-13700K - Gigabyte RTX 5080 GAMING OC - 64GB DDR5 6400 - VPC MongoosT-50CM3 - VKB GF pro - MFG Crosswind - Msi MPG321UR-QD + LG OLED 32GS95UE - TrackIR5 - Quest 3
Steggles Posted February 24, 2016 Posted February 24, 2016 (edited) Mapobjs_dead_zones is for map objects - buildings, bridges, etc, not for actual statics and units. Not to sure how to handle the statics, but if everything is in 1 group for the units, use a group alive less then trigger. The value entered with this trigger is a percentage of the original groups size. So a group with 10 units, group alive less then 30 will activate after there are less then 3 vehicles of that group left. http://wiki.hoggit.us/view/DCS_editor_conditions Edit: You could use mist.flagFunc.group_alive_less_than as well instead of the ME trigger if you wanted to stick to scripting. I havnt worked much with statics, but the few times I have I've noticed a lot of bugs with them when it comes to interacting with them with a script. Edited February 24, 2016 by Steggles -16AGR- 16th Air Guards Regiment is always looking for pilots - http://www.16agr.com EWRS - Early Warning Radar Script Specs: Gigabyte Sniper Z5-S Intel i5-4670k 3.4GHz OC'd 3.9GHz w/ Thermaltake 120mm Water 3.0 Pro Liquid CPU Cooler 16GB RAM Gigabyte GTX 1080 TM Hotas Warthog: SN: 06976 Saitek Pro Flight Combat Rudder Pedals TrackIR5 with TrackClipPro & Oculus Rift 2x 28" 4k UHD Monitors (3840x2160 each) + 1280x1024
Recommended Posts