If you find a code that is accessing to the health of the selected units, you can make a script to change the health of selected units. _________________
code that dec health : fst dword ptr [ecx+4C]
can you bring an example of A-Assemble.
stronghold for example:
selecting some soldier then getting their health address and freezing them by f1
The code that you have posted is writing to the health when it's changing. You need to find a code that is accessing to the health when you select a unit. (Or any code that you can use to calculate the address of the selected unit's health.) _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum