- Joined
- May 9, 2009
- Messages
- 735
Hello again. For another type of farm building on my map I want units to be spawned. The way I thought it out would base the interval of the unit spawn on the amount of farm buildings present, so a unit would spawn every 120 - (11 x Y) seconds, where Y is the amount of farms. At 10 farms the interval would be reduced to 10 seconds and would no longer decrease regardless of any additional farms built.
The issue I am having is that I can't think of a way right now of pulling this off without creating an interval trigger for each interval and a ton of if/then/else which check over and over again for the owners to get it to work for all 9 players. Is there some cleaner way to do this?
The issue I am having is that I can't think of a way right now of pulling this off without creating an interval trigger for each interval and a ton of if/then/else which check over and over again for the owners to get it to work for all 9 players. Is there some cleaner way to do this?