• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Auto-Casting Help !!!

Status
Not open for further replies.

Wartom111

W

Wartom111

I wish to make an auto-cast ability that when activated makes melee's heroes attack ranged but when not activated his melee, i do not have a clue about how to do this so any suggestions/help would be awesome thanks
 
You can make your hero's second attack (Combat - Attack 2) ranged, copy paste an Orb of Fire-type ability (it's in the "Items" abilities) and let the Data - Attack Index Enabled to be "2". Moreover, copy paste a Searing Arrow type ability, as Teelo already suggested.

  • Trigger
  • Events
    • Unit - A unit is issued an order with no target
  • Conditions
  • Actions
    • If (All conditions are true) then do (Actions) else do (Actions)
      • If - Conditions
        • (Issued order) Equal to (order(flamingarrows))
      • Then - Actions
        • Unit - Add (Orb of Fire) to (Triggering unit)
      • Else - Actions
        • If (All conditions are true) then do (Actions) else do (Actions)
          • If - Conditions
            • (Issued order) Equal to (order(unflamingarrows))
          • Then - Actions
            • Unit - Remove (Orb of Fire) from (Triggering unit)
          • Else - Actions
 
hmm.. why use autocasting abilities? just asking..
you can use morphing abilities to make a unit ranged or melee.
just an idea..
 
I don't recommend using Orb abilities but using spells such as Heal, Curse, Slow, Faerie Fire etc. as dummies.
Also, if you really want to create a ranged attack for a melee attacker you could morph the unit, replace it by the ability Chaos or by triggers, or by giving it another attack.
 
i know theres heaps of dif ways make them ranged/melee but i just wanted to try something dif thanks for the help guys
 
Status
Not open for further replies.
Back
Top