Warcraft III resources & community, 2003–2006 · archived

Illusion Spell

4 posts
#1

Illusion Spell

Please help,

I have tried MANY MANY things to make an Illusion spell create a random number of Illusions, where as the spell gets higher in level, the Illusions can do damage, take more damage, and last longer.

My thought was to make simple dummy units at the Trigger event of "When a Unit begins Casting a Spell", and have the dummy units cast a gummy version of the spell, based upon the spell's level of the caster.

But the units NEVER cast the spell.

I even tried making dummy items with higher dummy levels and then create the dummy unit with the item, and have them use it. But they won't use it.

It appears as if, the "Target Unit of Ability Being Casted" is lost, and/or no matter what, Illusion just can be cast by a Trigger in normal Trigger means.

Please someone make the spell., thanks.
#2
Target unit of ability being cast is reset after waits... This is one of Blizzard's errors. To use it after waits, you must save it into a variable before any wait occurs.

~Daelin
#3

Would someone please create it.

Thanks for the reply, but I was not waiting. In fact I immediately assigned the TGT unit to a variable.

I think that either the target is lost despite this, and/or the Id of the spell is not 852274 (AIil), but something else.

Please someone make it.
#4
Did you give the dummy unit a Hero Inventory instead of an Unit Inventory? With the first the units can use the items but with the second ones they cannot.

~Daelin