LearningCode
New Member
- Reaction score
- 24
Yea..
I've grown out of the Wintermaul-Terrain for my map -___-
I made my own terrain that suits this Hero Survival game I am making, lol.
I am making every round a boss round.
As in, The creeps come in groups with units supporting each other.
Like, a bunch of shackle-casters surrounded by healers and brutes is Level 1.
The problem is, I have no idea where to begin when it comes to creep AI.
I want to make it like this:
1) When creeps are spawned, order Shackle-casters to cast AerialShackles on nearest enemy unit.
2) When an enemy unit has the buff "Shackled", order all nearby brutes to attack Shackled unit.
3) When a unit is damaged, order the healers to heal damaged unit (This one is easy, auto-cast heal, lol)
4) If AerialShackles is not on cooldown for a unit and an enemy unit is attacking a healer, order the unit to cast AerialShackles on the attacking unit
It seems simple enough, but I have no idea how to do it.
Looking for guidance, lol.
(Hopefully, this will be the first and last time I ask for AI help)
I've grown out of the Wintermaul-Terrain for my map -___-
I made my own terrain that suits this Hero Survival game I am making, lol.
I am making every round a boss round.
As in, The creeps come in groups with units supporting each other.
Like, a bunch of shackle-casters surrounded by healers and brutes is Level 1.
The problem is, I have no idea where to begin when it comes to creep AI.
I want to make it like this:
1) When creeps are spawned, order Shackle-casters to cast AerialShackles on nearest enemy unit.
2) When an enemy unit has the buff "Shackled", order all nearby brutes to attack Shackled unit.
3) When a unit is damaged, order the healers to heal damaged unit (This one is easy, auto-cast heal, lol)
4) If AerialShackles is not on cooldown for a unit and an enemy unit is attacking a healer, order the unit to cast AerialShackles on the attacking unit
It seems simple enough, but I have no idea how to do it.
Looking for guidance, lol.
(Hopefully, this will be the first and last time I ask for AI help)