No_85_Gramps Posted December 3, 2019 Posted December 3, 2019 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
Gambit21 Posted December 3, 2019 Posted December 3, 2019 Easy, you put a counter on each vehicle, then feed each of those into your "4" counter. 1
No_85_Gramps Posted December 3, 2019 Author Posted December 3, 2019 Thanks Gambit! Sometimes I think I just over think an issue.
IckyATLAS Posted December 9, 2019 Posted December 9, 2019 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.
No_85_Gramps Posted December 9, 2019 Author Posted December 9, 2019 I set the damage threshold at 5, so even minimum damage would trigger the event. Thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now