Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Artem1243

Trigger activation condition problem

Recommended Posts

I want trigger to be activated if all vehicles in a group are destroyed so I tried to do this in a condition of a trigger:

{alive vehicle _x} count units group_name == 0

But this doesnt work for some reason... 

Thank you

Share this post


Link to post
Share on other sites

Your condition returns true when all vehicles and units in the group are dead. In Arma, a unit counts as a "vehicle."

 

This seems to work:

{alive vehicle _x} count assignedVehicles group_name == 0

 

I'm sure there are other methods.

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites
6 hours ago, Harzach said:

Your condition returns true when all vehicles and units in the group are dead. In Arma, a unit counts as a "vehicle."

 

This seems to work:


{alive vehicle _x} count assignedVehicles group_name == 0

 

I'm sure there are other methods.

Thank you very much!

Share this post


Link to post
Share on other sites

×