- Joined
- Oct 31, 2010
- Messages
- 1,057
(Solved)How do i change melee to ranged after equipping an item?
i want a unit to become ranged after he gets a item which is a bow
i tried unit replacement but it crashes my warcraft 3
i also tried using bear form but it doesnt change my unit to ranged for some reason. anyone help ?
--------------------------------------
event = when unit gets a item
condition = unit = archer
action = give ability (bear form)
-----------------------------------
event = when unit loses a item
condition = none
action =
if condition = unit is a archer and item being manuplated is bow
then = remove bear form from archer
else replace archer ranged with archer and remove bear form
------------------------------------------------------------
i want a unit to become ranged after he gets a item which is a bow
i tried unit replacement but it crashes my warcraft 3
i also tried using bear form but it doesnt change my unit to ranged for some reason. anyone help ?
--------------------------------------
event = when unit gets a item
condition = unit = archer
action = give ability (bear form)
-----------------------------------
event = when unit loses a item
condition = none
action =
if condition = unit is a archer and item being manuplated is bow
then = remove bear form from archer
else replace archer ranged with archer and remove bear form
------------------------------------------------------------
Last edited: