• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Point targeted (Channel, triggered) ability aggro

Status
Not open for further replies.
Level 5
Joined
Jul 31, 2020
Messages
103
Hi.

I'm looking for a way to make creeps react to Channel-based abilities like they would to a regular one. For example, using Flame Strike makes them attack the caster, but creating a carbon copy of it based on Channel, and triggering the damage, will leave creeps inactive. I tried to search for solutions to this, but I didn't find anything. (Most results that come up are about combat/aggro systems similar to WoW, unrelated to what I'm asking.)

I know a basic way of solving this is making targets attack-move to the location of the caster, but this actually causes issues since it might cancel out other things it shouldn't (order cancel), essentially breaking the functionality of other triggers.

So, is there an elegant way I'm not thinking of?
 
Hi.

I'm looking for a way to make creeps react to Channel-based abilities like they would to a regular one. For example, using Flame Strike makes them attack the caster, but creating a carbon copy of it based on Channel, and triggering the damage, will leave creeps inactive. I tried to search for solutions to this, but I didn't find anything. (Most results that come up are about combat/aggro systems similar to WoW, unrelated to what I'm asking.)

I know a basic way of solving this is making targets attack-move to the location of the caster, but this actually causes issues since it might cancel out other things it shouldn't (order cancel), essentially breaking the functionality of other triggers.

So, is there an elegant way I'm not thinking of?

Spell System seems to have this feature. You can consider looking at it's detail.
 
Level 21
Joined
Apr 12, 2018
Messages
494
This really depends entirely on how you're triggering the damage.

If the triggered damage is cast by a dummy unit enemy units will react to the dummy unit and not the caster. The most basic way to fix this is to 'ping' a minimal amount of damage to the enemy units in the AoE and attribute that to the caster so they'll know to go and attack the caster.

Pick Every Unit in (AoE range of spell) of (target of spell) matching (matching unit belongs to an enemy of owner of caster, etc.) and Do (0.01) Damage caused by (caster) or something like that.
 
Level 5
Joined
Jul 31, 2020
Messages
103
This really depends entirely on how you're triggering the damage.

If the triggered damage is cast by a dummy unit enemy units will react to the dummy unit and not the caster. The most basic way to fix this is to 'ping' a minimal amount of damage to the enemy units in the AoE and attribute that to the caster so they'll know to go and attack the caster.

Pick Every Unit in (AoE range of spell) of (target of spell) matching (matching unit belongs to an enemy of owner of caster, etc.) and Do (0.01) Damage caused by (caster) or something like that.

This is indeed true. I wonder now how would I go about replicating this creep behaviour for computer controlled units? So not neutral hostile (technically not creeps) units, but still used as creeps. They will not behave the same way, and will not react to damage done by point targeted, triggered damage by default. (I checked this just now just to see if there's something different about it.)
 
Status
Not open for further replies.
Top