- Joined
- Jun 14, 2007
- Messages
- 56
How does one go about automating skills?
In a tower defense, where you can choose from a number of different skills to add to the tower. I want to automate all these active abilities on the tower that the user chooses.
For example once "Shockwave" has been learnt it automatically will cast it at the point of a unit when there is one within the range of the spell
What i need is the event that fires the trigger
In power towers it is when a unit is attacked by the dummy attack of the tower that fires the trigger. But this can only work when the tower and the ability are synonymous - mine are not, and more than one ability can go on one tower.
Unit entering range events added after tower construction will not work as it does not loop the skill after its Cooldown is finished
Checking every x seconds for a unit within range of each spell becomes far too laggy
Any ideas???!
In a tower defense, where you can choose from a number of different skills to add to the tower. I want to automate all these active abilities on the tower that the user chooses.
For example once "Shockwave" has been learnt it automatically will cast it at the point of a unit when there is one within the range of the spell
What i need is the event that fires the trigger
In power towers it is when a unit is attacked by the dummy attack of the tower that fires the trigger. But this can only work when the tower and the ability are synonymous - mine are not, and more than one ability can go on one tower.
Unit entering range events added after tower construction will not work as it does not loop the skill after its Cooldown is finished
Checking every x seconds for a unit within range of each spell becomes far too laggy
Any ideas???!