HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

i need help with 3 special triggers

06-21-2015, 12:40 PM#1
THE Bora_Balboa
I want turn a melee unit to a ranged unit, when the unit picks up a diffrent item ,and i want know, how to turn a unit to a ranged unit ,when the unit click the item in the inventory,and is it possible to remove attributes from the hero ,and if it is,how?

Can you please help me guys?
P.S.I need it for a huge O'RPG campagin!
06-23-2015, 08:56 PM#2
Anitarf
If you want your unit to be a hero (gain experience and levels, learn skills...) then you can't get rid of the attributes.

If you want a melee unit to become ranged, you'll have to morph it to a different unit type with some type of morphing ability. Given that this is supposed to work with items, I imagine that a regular morph ability like metamorphosis won't work.
08-01-2015, 05:20 AM#3
Bribe
Hero Passive Transformation is what you'd be interested in for morphing between a ranged and melee unit:

http://www.hiveworkshop.com/forums/g...mation-198482/

Quote:
Originally Posted by Lordshinjo;1949422
[h2]Method[/h2]
Say you want to transform a hero, whose unit-type is "Unit Type 1", into "Unit Type 2".
  1. You need to create an ability based on Bear Form [Abrf] (though any other permanent transformation probably works too).
  2. Then (this is the hard part of this method) put in "Unit Type 1" in the "Alternate Form Unit" field of the spell, and "Unit Type 2" in the "Normal Form Unit", as illustrated in this image:


  3. Now, to transform your unit, you just need to add and remove the Bear Form ability to your unit to transform:
    Trigger:
    Actions
    Unit - Add Transformation 1->2 to YourUnit
    Unit - Remove Transformation 1->2 from YourUnit
  4. Your unit is now permanently transformed into "Unit Type 2", and will not morph back at any point without using this method again, or some morphing ability.