• 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.

[Solved] Make channel-based spell target unit with triggers?

Status
Not open for further replies.
Level 5
Joined
Nov 7, 2007
Messages
134
I've made a spell based on "Channel", and have selected the Target Type to be "Unit Target". Then, I want to make a trigger which orders a unit to cast this spell on another unit. Problem is, the only way to order a unit to cast Channel through "Unit - Issue order"-actions is by using "Issue order with no target", but my channel spell needs a unit target and so the unit won't cast it. Is there an easy way to solve this? I can imagine changing the spell to "Instant (No Target)" and use dummy abilities somehow, but that would require a lot of extra work and feels annoying since the spell itself works as it is.
 
The powerful thing about Channel is that you can choose the base spell yourself (only 2 other spells have that I believe, and nobody cares about Charge Gold and Lumber either way).
If you need that unit-target spell, then why not set "Data - Base Order ID" to chain lightning, storm bolt, fire bolt or any other target-spell?
Then you just need to order it to cast that spell (whatever you set that value to) and it will cast channel.
 
Level 5
Joined
Nov 7, 2007
Messages
134
Really? I didn't know you could do that, I'll try it right away.

EDIT: It worked, thank you very much!
 
Last edited:
Status
Not open for further replies.
Top