codebackup / bwapi

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

getLastSeen... for values that become 0/unknown in Unit/Bullet objects #446

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A get last seen for the values that can change would be nice.  Specifically 
getResources() because if you are gathering resources from a mineral field and 
it becomes obscured by fog of war as an example, then getResources() returns 0 
even if you know it has more than 0 resources.  Yes, you can get around this by 
manually specifying in your AI to remember it but it's still a pain.

Original issue reported on code.google.com by pawngam...@gmail.com on 19 Jul 2012 at 5:18

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 22 Jul 2012 at 7:18

GoogleCodeExporter commented 9 years ago
The last-known resource amount will be returned by Unit::getResources() since 
r4325.

Original comment by AHeinerm on 24 Mar 2013 at 3:31

GoogleCodeExporter commented 9 years ago
The BWAPI project is slowly undergoing the migration to GitHub. All issues have 
been migrated to the GitHub issue tracker located here: 
https://github.com/bwapi/bwapi/issues

In order to receive updates on your issue, please head over to the GitHub issue 
tracker and subscribe to your issue.

Original comment by AHeinerm on 15 Apr 2014 at 7:46