I'm making a hybrid game that is one part automatic creep attacks, one part tower defense and one part hero leveling.
I have to turn off the AI to make my "fire and forget" creeps go attack the base without doing stupid stuff. I want the creeps to just follow my commands. I still have the occasional creep returning to its spawn point even with flee off and no AI. I don't know how to fix that.
My main question is how could I make a tower that buffs my units with Inner Fire as they pass by? I've tried the two approaches I could think of with zero success. I'll explain these to the best of my ability...
I have tried to have them attack friendly targets, then use a trigger to cast inner fire on the friendly targets that get attacked. RESULT: can't get tower to fire on friendly targets at all, thus trigger doesn't get called. I can manually get my tower to attack friendly targets and then it will cast the spell, but it will not auto-attack friendly targets. Can't find a way to do that.
I have tried to have the game issue a command to all buff towers every 2 seconds of game time to give the order to cast inner fire on any allied units within range. I thought for sure this would work, but failed to do anything.
I know I have made this happen in the past, but can't remember how I did it. If you know how to make a unit auto attack friendly units (just checking friend or allied in the allowed targets section doesn't work) then that would be all I need. If there is no way to do that and you have a different suggestion on how to make this happen, I would greatly appreciate it.
Thanks in advance!
I have to turn off the AI to make my "fire and forget" creeps go attack the base without doing stupid stuff. I want the creeps to just follow my commands. I still have the occasional creep returning to its spawn point even with flee off and no AI. I don't know how to fix that.
My main question is how could I make a tower that buffs my units with Inner Fire as they pass by? I've tried the two approaches I could think of with zero success. I'll explain these to the best of my ability...
I have tried to have them attack friendly targets, then use a trigger to cast inner fire on the friendly targets that get attacked. RESULT: can't get tower to fire on friendly targets at all, thus trigger doesn't get called. I can manually get my tower to attack friendly targets and then it will cast the spell, but it will not auto-attack friendly targets. Can't find a way to do that.
I have tried to have the game issue a command to all buff towers every 2 seconds of game time to give the order to cast inner fire on any allied units within range. I thought for sure this would work, but failed to do anything.
I know I have made this happen in the past, but can't remember how I did it. If you know how to make a unit auto attack friendly units (just checking friend or allied in the allowed targets section doesn't work) then that would be all I need. If there is no way to do that and you have a different suggestion on how to make this happen, I would greatly appreciate it.
Thanks in advance!