Quantcast
Channel: D3Scene
Viewing all articles
Browse latest Browse all 21080

See current units in production

$
0
0
Hey there,

did anybody find out how to do it?
For now, I can create some kind of pseudo- production for buildings.

It checks the difference between the taken damage and the maximum health.
With this difference, I can calculate the pseudo status of the building.


However, this doesn't work with units that are in production.
There is an address that may tell you that a building is building a unit.
I'm not sure about it.
It's located at Unitstruct + 0x30. 512 means building; 256 means not building; 257 means building an addon (Terr)

I think it's possible to get all commands used on the specific building and check what button (unit) was pressed (building). But I do know nothing about the command as well. :(

Viewing all articles
Browse latest Browse all 21080

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>