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

[General] From Melee to Ranged and Backwards

Status
Not open for further replies.
Level 3
Joined
Mar 7, 2012
Messages
30
Hello. I am making a map which is orpg type. There are items like bows, wands, swords, daggers etc. I want when someone picks up a ranged weapon (ex. bow) to become ranged. I have searched the forums and found a way to do it by morphing the unit picking the weapon. I don't know if this works since I can't see how I can make the unit morph into ranged unit. Do you know if this works? If it does please help me with the morph part else can you recommend me any way to do it? Thanks in advance.
 
mckill2009 I am not the JASSer kind of triggerer (I know JASS is better but it's harder to understand). Still, thanks for your help. andreasaspenberg your system worked although I made some changes. When the unit picks one of the items that are ranged it receives the ability through trigger and uses it. That way the item won't have an ability which might be accidentally be used by the player. The system is not fully made yet but since I now know how I'll complete it in time. Thanks!!!
 
Metamorphosis order is not irrevertible. Which means it can go from ranged to melee but not backwards. I found though the spell bear form which allows to go back to melee. Thanks again! Without your advice I wouldn't be able to do it ;)
 
ok i made it work. another problem is that abilities learned (they are not added via a hero ability selection menu, the one with the "+" icon, they are automatically added with some conditions) do not go to the transformed unit. is there a way to fix that? :/
 
never mind I figured out how to make it work. you just have to make the abilities permanent using specific trigger command. thanks again!!!
 
Status
Not open for further replies.
Back
Top