Im trying to group all anti air vehicles using the entities command. there is no anti air vehicle class so im using the tank class and im hoping to use the parameter typesExclude to exclude all the other vehicles then use excludeDead to exclude destroyed vehicles.
Im quite new to arma scripting and i cant figure out how to use these parameters, ive tried it in every way i could and there is no info on google and these forms even the examples on the wiki page don't work!.maybe doing it a different way would be better or cleaner but i dont know how to do it any other way. Any help would be appreciated ive been stuck on this for days.
wiki page: https://community.bistudio.com/wiki/entities
my code:
antiair = entities "tank";