Is there a way to check every, lets say, .01 seconds whether a unit (controlled by a certain player) is within a region? Because I'm making an income system that needs to know whether there are units controlled by a certain player in a region, and give him 100 minerals and 100 vespene every 15 seconds. Oh, and while you're helping anyway, is there a way to check if both units from player 1 and 2 are in there and they both don't get anything?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is there a way to check every, lets say, .01 seconds whether a unit (controlled by a certain player) is within a region? Because I'm making an income system that needs to know whether there are units controlled by a certain player in a region, and give him 100 minerals and 100 vespene every 15 seconds. Oh, and while you're helping anyway, is there a way to check if both units from player 1 and 2 are in there and they both don't get anything?