Xiao Shao
Xiao Shao
When I'm using the function self.client.query_paths, I was thinking to get the path from my units to my set point, for example "self.enemy_start_location[0]". I don't remember my code very clear...
I found my code and I will show you below: avenager_units_types = [ UnitTypeId.ZERGLING, UnitTypeId.OVERSEER, UnitTypeId.ROACH, UnitTypeId.RAVAGER, UnitTypeId.BANELING, UnitTypeId.HYDRALISK, UnitTypeId.INFESTOR, UnitTypeId.SWARMHOSTMP, UnitTypeId.MUTALISK, UnitTypeId.CORRUPTOR, UnitTypeId.VIPER, UnitTypeId.ULTRALISK, UnitTypeId.BROODLORD ] attacking_units = self.units.filter(lambda...
Thank you for your reply! Actually, I was trying these two ways before and always got the 0.0. Lol The reason why I want to use the self.client.query_pathings, is that...