View Single Post
Old 03-27-21, 10:52 AM   #78
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 873
Downloads: 72
Uploads: 3
Default

Quote:
Originally Posted by gap View Post
Else, is it possible to differentiate strategies by aircraft unit type?
- Possibly (haven't tested yet) by IsType() boolean - if "type" here refers to aircraft/ship type as defined in Names.cfg
- Other than that, by GetMyWeight which returns own weight in tons - while that doesn't directly differentiate by type, it can be used to sort out light bombers and fighters from heavy bombers for example.
kapuhy is offline   Reply With Quote