• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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?
 
  • 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
 
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.
Back
Top