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

Unit use ability

Status
Not open for further replies.
Level 6
Joined
Mar 2, 2013
Messages
127
Is there a way to have a unit uses an ability within an ability?

So I made a trigger if a unit starts the effect of an ability then do this(bunch of stuff)
then at the end I want him to use another ability that I already have in the object editor. Anyone have any idea how to do this?
 
Level 5
Joined
Dec 16, 2011
Messages
55
  • Trigger
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to YourAbility1
    • Actions
      • Unit - Add YourAbility2 to YourUnit
      • Unit - Order YourUnit to Cast YourAbility
      • Unit - Remove YourAbility2 from YourUnit
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
What wi3122 posted won't work, unless you make the unit instantly cast all spells, but that kind of behaviour is meant for dummy units only.

One solutioon is to remove the ability after the unit finishes casting the ability. Alternatively, use Channel as the base ability. You can leave the command card icon hidden with that ability. You need to trigger the effects if you use channel.
 
Status
Not open for further replies.
Top