Jump to content

Recommended Posts

Posted

This one has been cramping my brain for a few days so I thought I would ask here about the logic. Lets say I have a convoy of 4 vehicles (just for example), I need to know when all four are damaged/killed. I know I could use a counter set to 4, to be triggered by ondamaged/onkilled events. If 2 vehicles are damaged, and 2 killed, the counter would trigger. Problem is this doesn't tell me if all four have been hit. If veh 1 is damaged, the counter increases, if veh 1 is subsequently killed the counter would increase to 2, when in all actuality only 1 veh has been accounted for. This could easily cause the counter to reach 4 without them all being damaged/killed. Is my thinking correct, or am I missing something? TIA

Posted

Easy, you put a counter on each vehicle, then feed each of those into your "4" counter. 

  • Like 1
Posted

Thanks Gambit! Sometimes I think I just over think an issue.

Posted

Do not forget to set the Damage Threshold in the Advance Parameters of your vehicle. In this way you can filter if you want to count only hard damaging hits or also light damaging hits.

Depending on hit angles and on the part of the tank damage varies.

Posted

I set the damage threshold at 5, so even minimum damage would trigger the event. Thanks.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...