HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Multiple Custom Spells using one base spell

04-29-2006, 04:26 AM#1
Imbrifer
Yes, it is hard to explain. Here:

I have 5 spells, all made from a base of storm bolt. The same unit (a barracks) has all 5 spells, and it can cast each of the 5 spells on a villager and a trigger replaces the villager with one of 5 units. (A corresponding unit to each spell)

The trouble is that no matter which of the 5 spells I click, the unit is transformed into a footman. Also, the first (footman) spell recharges, while the other 4 are outlined in green. The trigger which replaces the villager with a footman is fired, even if I click the button to cast a spell which should not fire that trigger, but instead another one.

Yes, I checked my code and each of them should create a different unit, but those triggers just aren't firing. Is it impossible to have one unit casting multiple custom spells made from the same base spell? Is there some property I forgot under each custom spell? Any help would be mightily appreciated...
04-29-2006, 05:03 AM#2
st33m
Its not possible. If they are based from the same ability, then it will cast them all, because they have the same order string. Use Channel if it has to be based on the same thing.