- Joined
- Nov 26, 2006
- Messages
- 11,136
Right. This is a system which I've gotten a bit of help over at Maps 'n' Mods, but since that site is kinda deserted (except the off topic forum, but that's another story) I've decided to ask for help here.
Okay, what I basically want is to make these towers that attack like those Prism Towers in Red Alert 2, or like the green turrets in this game. In other words, when tower A acquires a target, I want all other nearby towers to "charge" tower A, increasing its damage x2 for every tower nearby.
So far, I've managed to figure out how to make the laser effects, how to increase damage by 2 each time, and pretty much everything else. The only question that remains is this:
Okay, what I basically want is to make these towers that attack like those Prism Towers in Red Alert 2, or like the green turrets in this game. In other words, when tower A acquires a target, I want all other nearby towers to "charge" tower A, increasing its damage x2 for every tower nearby.
So far, I've managed to figure out how to make the laser effects, how to increase damage by 2 each time, and pretty much everything else. The only question that remains is this:
After tower A (the attacking one) has gotten a charge-up from tower B (a nearby tower) and if tower B is in range of attackers, how do I make it so that tower B does not immediately attack the enemies? Like its charge-up took up its attacking cooldown?
This is the hard part.