-
Notifications
You must be signed in to change notification settings - Fork 206
Units in bunkers / transport do not get included in frames #163
Comments
Presumptive cause (as I learned today): BWAPI's Game.getAllUnits() and Player.getUnits() do not (by design!) return units inside dropships/refineries/bunkers/carriers/etc. unless complete map vision is enabled. From BWAPI's standpoint, this is a feature. From TC's, it may be a hindrance. |
@tscmoo do you know if this is the case? I thought you said at one point that getAllUnits worked. |
As memory serves, getAllUnits should work, yes. I also thought we changed TC to use getAllUnits at some point, but it appears not. |
#257 might solve this... |
Still affected by the visibility check. There's no escaping that short of tracking unit creation/destruction from within TorchCraft (which I wouldn't recommend we do). |
I propose closing this as "won't fix" -- it's a BWAPI limitation. We could work around it, but that's be an opinionated API change when I think we'd rather TorchCraft transparently relay BWAPI data. |
No description provided.
The text was updated successfully, but these errors were encountered: