Jump to content

Unit Damaged - on every hit or just once?


Wrecking Crew

Recommended Posts

Quick ?

 

If a Condition of Unit Damaged and Action of Flag On (10) is on a Switched Condition event, will Flag 10 be set to True on every damaging event on the unit, or is Unit Damaged a Boolean True/False condition such that it will only be true once?

 

WC

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.

Link to comment
Share on other sites

Its just a check to see if the unit is not at 100% health. Once it becomes damaged the condition will always return true.

 

"Continuous > Unit Damaged> Message" would display a message every second after the unit became damaged.

 

You'd have to use a script to check if the damaged state changed from one check to the next to trigger an event each time a unit gets damaged.

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

Link to comment
Share on other sites

  • Recently Browsing   0 members

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