• 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] Dummy triggers noob

Status
Not open for further replies.
Level 5
Joined
Dec 11, 2010
Messages
101
Ok, so im trying out just now on how to do dummy units. so far, I understand it except one small trigger detail.

for example:
"Order last created unit to <silence> target unit of ability being cast"

How do i order a dummy unit to cast silence instead of the basic spells that are there?

I dont remember how to post the trigger thing, but here is a picture of my trigger if it helps any. (the problem is the stuff like mass teleport, there isnt a way to customize it so far as i know) http://prntscr.com/2ahz76


SIDE NOTE: I'm really didn't mean to upload this into the requests forum, im a failure at that :3 im uploading this here however, to get it in the right forum. Sorry!
 
Level 14
Joined
Jun 27, 2008
Messages
1,325
Each spell has its own base order Id, its a string like "clusterrockets". If you create a new spell it will have the same base order id as the spell you derived it from.

If you order the unit to cast a spell by order id ALL spells which are based on that base order id will be casted, so if the unit has two spells both based on the same spell, both will be casted (or if they block each other a random one). This is usually unwanted behaviour, which is why you should never give a unit two spells which are derived from the same base spell.

One exception is the spell "channel" which lets you select the base order id. So if you use "channel" to make new spells you can select a different base order if for each of them to avoid a conflict.
 
Status
Not open for further replies.
Top