;checkratio.sqs
;Pass the list of vehicles, ex. [[t1,t2,t3,t4,t5]]exec"checkratio.sqs"
_list = _this select 0
#check
_empty = "(count crew _x) == 0" count _list
_emptydestroyed = "((count crew _x) == 0)&&(damage _x > 0.8))" count _list
_ratio = _emptydestroyed*_empty
~4
?_ratio < 0.7:goto "check"
hint "RATIO 70%"
exit