switching between melee and ranged

Level 11
Joined
May 17, 2010
Messages
389
I suggest you use the "Bear Form" ability from the Night Elf Druid of the Claw.
Create 2 Heroes, The same model, Stats, Etc. One that is melee and one that is ranged.
Then set the fields in the Bear Form ability to your liking.
Also modify the fields in the ability which allows your hero to "change" his attack range.
Then put the ability in both heroes.

Edit:
Added an image to inform you more.

attachment.php
 
Last edited:
Level 5
Joined
Aug 27, 2010
Messages
79
i tried using spell book...created a spellbook, disabled it and added "bear form" ability to it....but how do i use bear form ability thru triggers??
"Unit - Order (Triggering unit) to Night Elf Druid Of The Claw - Bear Form" didnt work....
 
Level 11
Joined
May 17, 2010
Messages
389
You can't use active abilities in disabled spellbooks.
If your hero changes its attack range from melee to ranged or vice versa, I suggest you save the hero's stats, skills, etc. then replace the hero with the ranged replacement.
Then implement the stats that you saved.
 
Level 5
Joined
Aug 27, 2010
Messages
79
hey i dont want unit replacement.
i have a hero, 1st attack is melee n 2nd ranged,
i have ability based on item orb ability(item fire bonus damage),
ability for melee(sword) has attack index 1 enabled.
ability for ranged(bow) has attack index 2 enabled.
but problem is the 1st attack index is not being enable.
when i say attack index 1 enable it enbales attack2 not 1...
y is that?!?!? pls help.....
 
Level 10
Joined
Jul 12, 2009
Messages
319
not working... :(
You need to say what you tried before anyone can help you figure out why it didn't work.

pls some1 reply
This is a forum, not a chatroom. Be patient.

hey i dont want unit replacement.
i have a hero, 1st attack is melee n 2nd ranged,
i have ability based on item orb ability(item fire bonus damage),
ability for melee(sword) has attack index 1 enabled.
ability for ranged(bow) has attack index 2 enabled.
but problem is the 1st attack index is not being enable.
when i say attack index 1 enable it enbales attack2 not 1...
y is that?!?!? pls help.....

That's just the way WC3 works. AFAIK it's impossible to do what you want without unit replacement.
 
Top