| 08-03-2009, 07:07 AM | #2 |
Trigger: Unit - Order tmpUnit to Undead Death Knight - Animate Deadhave you changed the Animate Dead ability or have made your own? think Trigger: Order Unit to cast a spellif I'm right you can either use a JASS-script or change the base spell into original Animate Dead |
| 08-03-2009, 07:35 AM | #3 | ||
Quote:
That if statement is unnecessary. ((Unit-type of tmpUnit) Equal to Dummy) will always be true. Quote:
Contrarily, ((Ability being cast) Equal to Animate Dead) will always be false in this context. |
| 08-03-2009, 09:12 AM | #4 | ||
Quote:
Edit: Quote:
|
| 08-03-2009, 09:53 AM | #5 |
You are correct about the orderstrings, T3RMINUS. Your second debug message will never show, as you're not running that on an on-spell-cast event, to which the "Ability being cast" pertains. Does your dummy unit have (enough) mana? Is it silenced somehow? Does it have the appropriate ability? |
| 08-03-2009, 08:29 PM | #6 | |
Quote:
|
| 08-03-2009, 08:41 PM | #7 |
T3RMINUS: try this: change the base spell into original Animate Dead i'm sure that it'll help |
| 08-03-2009, 09:24 PM | #8 | |
Quote:
|
| 08-03-2009, 09:54 PM | #9 |
change the base spell of Daminon's spell to blizzards Animate Dead open Daminon's spell and change it's cast condition to blizzards Animate Dead ID |
| 08-03-2009, 10:18 PM | #10 |
It already is. It has the order string of animate dead already, it should work. Edit: I think i figured out the problem. I think that the spell is not channeled but point targeted. Edit2: Changed orderstring to shockwave, still not working. |
| 08-04-2009, 12:09 AM | #11 |
The orderstring has to match the spell you are using (or in the case of custom spells, the spell they are based on), you can't just try orderstrings at random. |
| 08-04-2009, 05:27 AM | #12 |
It matches... I changed both of the orderstrings, because i thought the spell was coded as a point target spell. |
| 08-04-2009, 12:35 PM | #13 | |
Quote:
|
| 08-04-2009, 12:39 PM | #14 |
If the base spell is animate dead, it's an instant cast ability with the animate dead order string. If the base spell is shockwave, it's a point or unit cast ability with the shockwave order string. |
| 08-06-2009, 09:14 PM | #15 | |
Quote:
Edit: Oops, i think i misread your post. You mean if i go to the object editor and change "Text - Order String" it wont work? |
