HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell being cast

11-18-2003, 09:41 PM#1
Eriond
I've having a problem. When I use abilties based on the same spell, I they both fire when I select one in the trigger,

EVENTS: Unit - A unit finishes casting a spell

CONDITIONS: (Ability Being Cast) equal to Conjuration

This will fire when Conjurationo is cast, or Taunt, which it is based on. How do I make it so only 1 fires?
11-18-2003, 10:29 PM#2
FerretDruid
I had that problem once, but it was because the *other* ability referred to the order string in the condition (ie: Issued order equal to <etc>). Maybe that's the problem.
11-18-2003, 10:34 PM#3
Eriond
I seeeeee, so if I change that, will it affect other ablities of the new order, even though they're not based on the same spell?
11-18-2003, 10:45 PM#4
FerretDruid
I don't understand what you mean. But I'll explain what I know... If you give a unit more than 1 ability based from the same spell, you will have those problems when referring to the spell order in any triggers, because you can't change the order (that I know of).

As long as all the spells on the unit are based from different abilites you can usually just refer to the unit-type (or specific unit, + whatever else you might need like player controlling) in the condition to make sure there isn't any problems with it.
11-18-2003, 10:55 PM#5
Eriond
Problem is, all the same unit is casting them, but they're in different spell book abilities.
11-19-2003, 06:44 AM#6
Newhydra
Without editing a certain file (I forget which) you can't do what you want; triggers which fire for one spell will always fire for spells based off of it. I believe, but I could be mistaken, that the file that must be edited can not be imported into a battle.net map. If you need more information I could load up the WE and an mpqeditor, and maybe figure out which file needs to be edited. It may, be impossible because the question (to put it in laymens terms :P) that gets asked by the game is something like "is the spell being cast a randomSpell01?" The answer to this question for the base spell would be yes. Similarly any spells which were extended from the base spell would be both their extended spell, and the base spell. (for example, look at rectangles( the base spell) and squares(the extended spell)...is a rectangle a rectangle? Yes. Is a square a rectangle? Yes.)
11-19-2003, 07:25 PM#7
Eriond
I'm going to have to use order comparisons... how much does that suck?
11-19-2003, 08:04 PM#8
Ligature
What about distinguishing between two different abilities that are based off the same ability?
11-19-2003, 09:54 PM#9
Eriond
Erm, you mean like

(Ability Being Cast) equal to Taunt2
and
(Ability Being Cast) equal to Taunt3

That's what I've been doing. It still doesn't distinguish.
11-20-2003, 03:08 AM#10
Kolibri
Quote:
Originally posted by Eriond
Erm, you mean like

(Ability Being Cast) equal to Taunt2
and
(Ability Being Cast) equal to Taunt3

That's what I've been doing. It still doesn't distinguish.


Try Or. :gsmile: