baltic_dragon Posted April 18, 2014 Posted April 18, 2014 Hey, I need help with a mission I am working on. The idea is that a player flight is shot at by MANPAD by surprise. I would like to set a flag once the missile is shot, no matter if it hits anything or not. Is that possible? I was thinking about a trigger with an event "shot", but don't really understand how it works. Any ideas much appreciated! For more information, please visit my website. If you want to reach me with a bug report, feedback or a question, it is best to do this via my Discord channel. Details about the WinWing draw can be found here. Also, please consider following my channel on Facebook.
baltic_dragon Posted April 18, 2014 Author Posted April 18, 2014 I knew a time would come to learn the scripts sooner or later.. would it be part of the MIST? For more information, please visit my website. If you want to reach me with a bug report, feedback or a question, it is best to do this via my Discord channel. Details about the WinWing draw can be found here. Also, please consider following my channel on Facebook.
ENO Posted April 18, 2014 Posted April 18, 2014 Hmmm well the other way around you can activate the group that is firing the missile when the target group enters the zone... you can then set the flag at that occurrence instead. Learning some basic scripting wouldn't hurt but there are generally reliable ways around it as well. "ENO" Type in anger and you will make the greatest post you will ever regret. "Sweetest's" Military Aviation Art
dooom Posted April 18, 2014 Posted April 18, 2014 i'd be happy if ED woudl add ME triggers to expand upon the moving zone concept. "munition in moving zone " would be awesome as would "Part of group/coalition in moving zone" ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 "This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL
HiJack Posted April 18, 2014 Posted April 18, 2014 As ENO says, it is possible by using zones and trigger on event when shooting.
baltic_dragon Posted April 19, 2014 Author Posted April 19, 2014 Hmmm well the other way around you can activate the group that is firing the missile when the target group enters the zone... you can then set the flag at that occurrence instead. Learning some basic scripting wouldn't hurt but there are generally reliable ways around it as well. I was thinking about it, I will play with this idea and see if acquiring target and shooting always takes the same amount of time - if it does I can easily set the flag and then use a warning from the flight using 'time since flag'. With set skill for the enemy, do you think it would work? For more information, please visit my website. If you want to reach me with a bug report, feedback or a question, it is best to do this via my Discord channel. Details about the WinWing draw can be found here. Also, please consider following my channel on Facebook.
baltic_dragon Posted April 20, 2014 Author Posted April 20, 2014 I have played with it, but can't nail it - the manpad shoots randomly, so it would be difficult to set a flag on entering a zone, as it could be too early. I would really appreciate help with this one! For more information, please visit my website. If you want to reach me with a bug report, feedback or a question, it is best to do this via my Discord channel. Details about the WinWing draw can be found here. Also, please consider following my channel on Facebook.
Sabre-TLA Posted April 20, 2014 Posted April 20, 2014 You could use an ON SHOT event trigger. As long as nothing else is shooting at the time this trigger should fire when a shot occurs. You could use the UNIT IN ZONE condition or any other condition (TIME SINCE FLAG, etc). From the Manual P.83: ON SHOT. Trigger's conditions are evaluated whenever any weapon is fired. See the screenshot below. MapleFlagMissions - Read Our Blog for Updates
mwd2 Posted April 20, 2014 Posted April 20, 2014 what is, if you take the Casualty Counter (Author: BAntDit) script http://forums.eagle.ru/showpost.php?p=1735325&postcount=64 and change the crash event to world.event = {S_EVENT_SHOT}? 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
baltic_dragon Posted April 20, 2014 Author Posted April 20, 2014 You could use an ON SHOT event trigger. As long as nothing else is shooting at the time this trigger should fire when a shot occurs. You could use the UNIT IN ZONE condition or any other condition (TIME SINCE FLAG, etc). From the Manual P.83: ON SHOT. Trigger's conditions are evaluated whenever any weapon is fired. See the screenshot below. Thanks, I will give this a try - seems this is exactly what I need for my mission. I will report back tomorrow. what is, if you take the Casualty Counter (Author: BAntDit) script http://forums.eagle.ru/showpost.php?p=1735325&postcount=64 and change the crash event to world.event = {S_EVENT_SHOT}? Will try that as well! Thanks! For more information, please visit my website. If you want to reach me with a bug report, feedback or a question, it is best to do this via my Discord channel. Details about the WinWing draw can be found here. Also, please consider following my channel on Facebook.
baltic_dragon Posted April 21, 2014 Author Posted April 21, 2014 Thanks Sabre, works as charm! Now on to mission 3 :) For more information, please visit my website. If you want to reach me with a bug report, feedback or a question, it is best to do this via my Discord channel. Details about the WinWing draw can be found here. Also, please consider following my channel on Facebook.
Recommended Posts