This wouldn't be very efficient but I don't think it will slow the game down too much on most computers. You could have the event be a periodic event every 0.625 seconds or whatever the minimum is. Then have it loop through all the regions that are in a variable array of regions and check for units inside them. This sounds like it would be very slow but I don't think it is much different than having 45 triggers for each region separately. Just throwing out an idea.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
This wouldn't be very efficient but I don't think it will slow the game down too much on most computers. You could have the event be a periodic event every 0.625 seconds or whatever the minimum is. Then have it loop through all the regions that are in a variable array of regions and check for units inside them. This sounds like it would be very slow but I don't think it is much different than having 45 triggers for each region separately. Just throwing out an idea.