Jump to content

Recommended Posts

Posted

… 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

Posted

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 ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

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

Posted

^^ 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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...