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

Order a unit to cast a custom spell?

Status
Not open for further replies.
Level 5
Joined
Mar 17, 2005
Messages
135
You have to make it cast the spell that your custom spell is based from. If you created a custom spell that was origionally chain lightning, then you have to use the trigger. Order casting unit to use chain lightning, regardless what you new spell is named.
 
Level 11
Joined
May 31, 2008
Messages
698
If you used Channel for the base spell you should use the spell that is under Base Order Id, but otherwise just do what Palermo said and order the unit to cast the spell that you based the custom spell off of
 
Level 8
Joined
Nov 9, 2008
Messages
502
No. When you go to create a new custom spell it asks you what spell to base it from right? THat is the spell you need to order your unit to cast.
 
Level 5
Joined
Mar 17, 2005
Messages
135
Does that mean I have to overwrite the default one instead of making another one?

No let's say you go to object editior/abilities and click create new ability. When you are at the interface where you name and pick an ability, the ability you pick is going to be the ability you use in your trigger.

For example: I pick Chain Lightning and rename it to Chain of Doom. Then I redo the effects and name it differently making it look like in no way chain of lightning. Then I decided I was a trigger to cast it. I would go to triggers make my actions and conditions then say: "Order (Attacking Unit) to order/cast Chain Lightning". I then make sure that the unit i'm ordering to cast chain lightning has my new spell on it. It is not called chain lightning but it will still cast it because that is the skill that the AI (Artifical intelligence) thinks it is in simpler terms.

I hope you understand this better.
 
Status
Not open for further replies.
Top