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

Dumb Dummies Wont Cast!

Status
Not open for further replies.
Level 24
Joined
Nov 9, 2006
Messages
2,561
Whats wrong here is the order, cus the dummy gets created, but it wont CAST the silly spell.
The dummy spell is based of the item illusions, as you may know the item spell doesnt have any casting order Id, so i put on the: order string - use/turn on, to invisibility and changed the casting range to 999999.

The problem is the casting here u see, so im not sure what to do...
Heres the trigger:
Code:
Decoy
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Decoy 
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Or - Any (Conditions) are true
                    Conditions
                        (Level of Decoy  for (Triggering unit)) Equal to 1
                        (Level of Decoy  for (Triggering unit)) Equal to 2
            Then - Actions
                Unit - Create 1 #Dummy Unit# for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing 0.00 degrees
                Unit - Add a 6.00 second Generic expiration timer to (Last created unit)
                Unit - Add Decoy lvl 1-2 (Dummy Casting) to (Last created unit)
                Unit - Order (Last created unit) to Human Sorceress - Invisibility (Triggering unit)
            Else - Actions
                Do nothing
I didnt add the other 3-4 and 5-6 spell, they look almost exactly the same...

and heres the picture of the spell in object editor incase wanna see.
 

Attachments

  • ghjgh.jpg
    ghjgh.jpg
    35.2 KB · Views: 128
Level 10
Joined
Jan 21, 2007
Messages
576
Give the dummy an inventory(hero type, with only 1 slot) give it the item with the illusion ability and order it to use the item in slot 1 on X unit. Unless your heroes ability and dummy units abilities are both decoy, you might want to check your conditions, they seem illogical.
 
Last edited:
Level 24
Joined
Nov 9, 2006
Messages
2,561
Give the dummy an inventory(hero type, with only 1 slot) give it the item with the illusion ability and order it to use the item in slot 1 on X unit. Unless your heroes ability and dummy units abilities are both decoy, you might want to check your conditions, they seem unlogical
Hmm, nice tip i'l give it a try! +rep
The first ability is just a dummy ability based on windwalk to start the trigger and make sure the unit doesnt stop when casting!
Btw do you know any other illusion abilities except the item illusions and mirror image?

First of all, please use trigger tags.
Next, remove the "Do Nothing"
Also, you don't need the
If - Conditions
Or - Any (Conditions) are true
It's useless.
Also, why is the order string changed?
Maybe cus there wasnt any order string on the item at start as i said!
 
Level 11
Joined
Aug 25, 2006
Messages
971
Ok, in every ability but a very few, changing the orderID doesn't work. It will remain the same as it was before. The exception to this is the ability 'channel' and one or two others. Even if you change the orderID on anything else, the game will ignore your change.
 
Level 5
Joined
Feb 19, 2007
Messages
107
Hey,
Do you have any other triggers that spawn units as it could be the (Last created unit) bit that is causing a problem. Try making a variable and setting it to last created unit, then referencing he variable instead. Hope this helps.
 
Level 11
Joined
Aug 25, 2006
Messages
971
Uhhh I don't see how that would do anything but waste some processing power (though not much) Last Created Unit won't work (at least not all the time) if theres a wait between unit creation and the call of "last created unit." In that case you would need another var.
 
Status
Not open for further replies.
Top