You can't know if all enemies are targeting you. Only those with a valid unitid. That means you iterate over your group, over their targets and then their targets. Only those unitids are valid and can be checked. If nobody you know targets a unit you can't know it's target.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
|