dooom Posted February 6, 2014 Posted February 6, 2014 … I am having trouble trying to develop a trigger to confirm a map object is dead. Specifically for p-51 mk84 bombing… I don't want to use invisible units because they can die from the bombs but the bombs might not be strong enough to down the bridge… Any thoughts or ideas? K 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
Grimes Posted February 6, 2014 Posted February 6, 2014 mist.flagFunc.mapobjs_dead_zones In short you can use scripting to check if a world object is alive or dead. The mist function works by keeping a database of all dead objects and then checking if a certain number of dead world objects exist in a trigger zone. If you make the trigger zone small enough to encompass only the bridge, then only the death of a bridge will cause the function to set a flag value to true. There are other ways to do it, but the mist function is the quickest and easiest to use. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
ENO Posted February 6, 2014 Posted February 6, 2014 Agreed... love that function! VERY easy to set up. Doooom... if you have any issues with it let me know and we'll work through it. "ENO" Type in anger and you will make the greatest post you will ever regret. "Sweetest's" Military Aviation Art
dooom Posted February 6, 2014 Author Posted February 6, 2014 That sounds perfect ... I suppose it's time for me to learn the scripting stuff and go to the next level. I'll review tonight and reach out if I need help! Thanks grimes and eno! 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
dooom Posted February 7, 2014 Author Posted February 7, 2014 ^^ worked like a charm - thank you for MIST and thanks for the tip - simple stuff! 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
Recommended Posts