Closed razerfive closed 11 years ago
This is not a bug. Outside of the game engine plugins unit.name is always the final name of the unit. This unit was upgraded and the name changed. If you want the original type name you can access the attribute during processing with a game engine plugin or use the unit type_history.
It may not be super intutive behavior for a new user; I will try to make the documentation around this more clear.
ok, thnx
when scv finished CommandCenter in UnitDoneEvent in sc2reader event.unit.name = "OrbitalCommand" - its a BUG event.unit.name should be - "CommandCenter"