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!
Thank you dark angel your advice worked Here is what i did.
1. for my hero i checked "tree" as one of the "targets allowed" for ATTACK 2.
2. made new item ability "Tree Attack" based off orb of lightning, deleted all the art, etc...checked "tree" for "targets allowed" for this ability.
3. made an item called "Axe" based of "claws of attack", gave the item "Tree Attack" ability.
When my hero picked up this item, he was allowed to attack trees.
Thank you for the help DarkAngel, i reped you for it.
I have another question. How can i make it so that when a unit picks up the item "Axe" he is replaced with another unit called "Axeman." The new unit must have the "Axe" in his inventory. When the Axeman drops the Axe, he is then replaced by the original unit.
Hide the unit? then create 1 axeman at his posision and give him the item. then if the axeman drops the item then move unit instantly to the point of the axeman then unhide him and hide the axeman.
Edit: Like this i don't show the whole thing but the beginning.
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item carried by (Triggering unit) of type Axe
(Unit-type of (Triggering unit)) Equal to Which unit you ever want
Actions
Unit - Hide (Triggering unit)
Unit - Create 1 Axeman for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.