google-code-export / bwapi

Automatically exported from code.google.com/p/bwapi
0 stars 0 forks source link

Can't find methods for building Reaver's scarabs or Carrier's interceptors #181

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If they already exist then they should be more obvious in the wiki.
I expected to use Unit::useTech(TechType*), but there is no tech for 
building scarabs or interceptors.

Original issue reported on code.google.com by tin...@gmail.com on 7 Jan 2010 at 11:38

GoogleCodeExporter commented 9 years ago
scarabs and interceptors both are units, not techs. The only method that 
suffices 
that requirement is Unit::train(UnitType) so i'd try that one.

Original comment by goo...@teabix.com on 7 Jan 2010 at 11:50

GoogleCodeExporter commented 9 years ago
Yeah train() is used to make scarabs and interceptors. I updated the 
documentation of
Unit::train so that it explicitly states this.

Original comment by lowerlo...@gmail.com on 8 Jan 2010 at 2:55

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 8 Jan 2010 at 3:36