Open daleharris541 opened 1 year ago
Implemented in TemplateBot.py on_building_construction_complete and on_enemy_unit_entered_vision for testing purposes and was able to use that to make army units and send to enemy appearance.
2 out of 9 implemented.
Overridden functions that provide a way for on_start/on_step/before_start to allow for additional functionality to be built into the bot:
`async def on_unit_destroyed(self, unit_tag: int): """ Override this in your bot class. Note that this function uses unit tags and not the unit objects because the unit does not exist any more. This will event will be called when a unit (or structure, friendly or enemy) dies. For enemy units, this only works if the enemy unit was in vision on death.