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

Another one!

Status
Not open for further replies.
Level 34
Joined
Sep 6, 2006
Messages
8,873
I can't seem to get things to work out for me lately.

I got pretty much the exact same trigger to work before, but I can't get the new one to work. I can't figure it out at all. I made sure that the dummy spells were not using the same orderstring. All the object data seems to be fine.

Right now, one overrides the other. I cast one dummy spell and it just gives me the other spell. I can't change them back and forth. I made the same thing with selectable auras. It works perfect.

  • Fire Arrow lvl1
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Fire Arrows (dummy lvl1)
    • Actions
      • Unit - Add Fire Arrows to (Casting unit)
      • Unit - Remove Armor Piercing Arrows (New) from (Casting unit)
      • Trigger - Turn off Armor Arrow Data <gen>
  • Armor Arrow lvl1
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Armor Piercing Arrows (dummy lvl1)
    • Actions
      • Unit - Remove Fire Arrows from (Casting unit)
      • Unit - Add Armor Piercing Arrows (New) to (Casting unit)
      • Trigger - Turn on Armor Arrow Data <gen>
 
Level 5
Joined
Jul 11, 2007
Messages
152
In the first trigger you add fire arrows and then remove the armor piercing arrows while in the second you remove and then add.
I think this may be creating the conflict, otherwise I'd check the Armor Arrow Data trigger.
 
Level 34
Joined
Sep 6, 2006
Messages
8,873
It's not armor arrow data. I created that after this problem came up.

It shouldn't be. The other time I did this for the Auras it worked fine. I CnP the trigger and changed the spells. I'll test that though.
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
Theres no problem in your trigger... so the only reason I could find is - you are not casting the right spell.

Are you sure you are casting the dummy correctly ?

And just a tip, change Casting Unit to Triggering Unit.
Triggering Unit has no bugs with waits and is generaly less trouble-making :p
 
Level 34
Joined
Sep 6, 2006
Messages
8,873
Yeah I think I changed it to triggering, or at least I changed the other spell.

I'll go over all the object data, but I've done it a hundred times already. This is pissing me off.
 
Status
Not open for further replies.
Top