GaryOak
New Member
- Reaction score
- 0
Hey all, I was wondering if there was a way I could give a unit a passive ability to generate wood every ten seconds. I was originally trying to do it through triggers but couldnt find out how to make it only apply to specific types of units.
To give a little background information, I am making a tech wars game, and there is an income based off how many buildings you have. For each building you have created, you get 5 wood per ten seconds. However, I have a treant race that uses ancients to fight, so their buildings uproot and run off.
However the income doesn't work for the treants, because in order to get their buildings to gain the proper spells when uprooted, I have to replace them with a unit that isn't a building when uprooted, thus taking away their ability to generate income. This may sound a little complicated, but I basically just want these specific non building units to generate income like they would if they were still buildings, while not giving this ability to ALL non building units. Thanks in advance, guys.
To give a little background information, I am making a tech wars game, and there is an income based off how many buildings you have. For each building you have created, you get 5 wood per ten seconds. However, I have a treant race that uses ancients to fight, so their buildings uproot and run off.
However the income doesn't work for the treants, because in order to get their buildings to gain the proper spells when uprooted, I have to replace them with a unit that isn't a building when uprooted, thus taking away their ability to generate income. This may sound a little complicated, but I basically just want these specific non building units to generate income like they would if they were still buildings, while not giving this ability to ALL non building units. Thanks in advance, guys.