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

Item Changes Attack

Status
Not open for further replies.
Level 7
Joined
Apr 3, 2007
Messages
293
I am making an rpg, but no ordinary RPG. I want to make a system that changes the attack type of a hero when they aquire a new type of item. For example, If u aquire a bow ur attack will becoem ranged. If you then aquire a melee weapon, ur attack will become melee. I know this is possable because I have seen things vry simular to this. Does anyone have a clue how this can be acomplished? I appriciate the help.
 
You need to use an orb effect or a trigger action to enable the 'second attack type' of a unit. Using the object editor in attack type 2 fields of the desired hero make their second attack their ranged attack. Then using an ability like one of the orb effects (slow, etc) remove the effects the orb would usually have and instead leave the field 'attack type enabled' to 2.

This should work. If you need more help I could probably make it in a demo map for you
 
I'm thinking of doing something similar like using items as weapons to change a unit's attack but how do you use the chaos ability?
 
that limits you to switchin between the two. add a third unit and you cant use bear form. am i right in thinking you have to rely on researches to trigger chaos ability?
 
Status
Not open for further replies.
Back
Top