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

[Trigger] Mass Attack by Ability

Status
Not open for further replies.
Level 4
Joined
Sep 2, 2006
Messages
99
Ill get to the point, I have a trigger, its not working...
  • MassAttack
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Attack
    • Actions
      • Unit Group - Order (Units of type Footman) to Stop
      • Unit Group - Order (Units in (Playable map area) owned by (Owner of (Triggering unit))) to Move To (Target point of ability being cast)
I have the "Unit Group - Order (Units of type Footman) to Stop" because if I re cast the ability the units would ignore the new command, I don't think it worked though. And by the trigger now working the units don't move to where I clicked the ability.
 
Level 25
Joined
May 11, 2007
Messages
4,650
From what I've learnt, use A unit Finishes the effect of an ability instead. It saves the location then or something, it just works better :p

Now I'm not sure if Attack is an ability... Try this instead:
Use ''Player - A unit owned by player X is attacking a unit.
Condition: If unit type of attacking unit equal to footman
Actions: Issue attacking unit to move to ((position of attacked unit)
 
Level 7
Joined
Jul 20, 2008
Messages
377
Actually, "an unit finishes casting a spell" returns a casting target; "starts the effect of a spell" will probably not.
 
Level 13
Joined
May 11, 2008
Messages
1,198
uhm i think all those units do whatever with spells and abilities, i'm not sure which ones work for what but from what i can gather they're all mostly useless except for a unit starts the effect of an ability. so try using that one. anyway, that's an event and i think you'll find it under generic unit event or specific player unit event or something like that.
 
Status
Not open for further replies.
Top