Hey there,
i am working on a strategy map and have a problem with a trigger.
I basicly want to achive this:
If the player has a certain building, lets say the lumber mill, he will get 10 lumber per 10 seconds. But he will only gain lumber aslong as the building is alive. If the building gets destroyed, he wont get the lumber anymore. But i need a trigger that counts the amount of buildings, so lets say the player has 5 lumber mills he will get 50 lumber per 10 seconds (10 per lumber mill).
Everything i tired failed, either the effect wont stack of it will continue even if the building isnt alive anymore.
Would be very grateful for some help/tips!
thank you!
i am working on a strategy map and have a problem with a trigger.
I basicly want to achive this:
If the player has a certain building, lets say the lumber mill, he will get 10 lumber per 10 seconds. But he will only gain lumber aslong as the building is alive. If the building gets destroyed, he wont get the lumber anymore. But i need a trigger that counts the amount of buildings, so lets say the player has 5 lumber mills he will get 50 lumber per 10 seconds (10 per lumber mill).
Everything i tired failed, either the effect wont stack of it will continue even if the building isnt alive anymore.
Would be very grateful for some help/tips!
thank you!