| 03-03-2004, 10:07 PM | #1 |
Well im working on a map where when a unit (hero) pick an item it gain abilities (in most cases when you attack something it cast the abilities (in example if I got an X item, it will give to the hero the pandarenbreathoffire ability, and when the hero attack it will cast instead the pandaren breathof fire ), ok it works well but i dont want that the abilities icon appear in the unit (because you wouldn need to attack something , only to cast it and with zero cooldown all people will cast the abilities instead of waiting to attack ) so i need a form to "hide" these icons (maybe putting a black icon in every ability)Somebody knows??? PD : I dont want to put the ability in a hiden unit because it complicate all the map PD2:Pardon my not so polished english |
| 03-03-2004, 10:22 PM | #2 |
I think that hiding abilities is not possible. Invisible dummy units are the only way... I don't see much complications, just make an invisible unit for each item of this kind and then when a hero carrying the item attacks move the dummy-unit of that item to the location of the hero and order it to brath of fire attacked unit. |
| 03-03-2004, 10:49 PM | #3 | |
Quote:
u we.. i will try it ...but then another queston how can i do to make a unit to not attack anything (Plz another method that dont be using the chaos ability??) |
| 03-03-2004, 11:59 PM | #4 | |
Quote:
You can change a units attacks (Ie Attack 1 only, Attack 2 only, Both, None) with a upgrade. But since you can't un-upgrade, this is a one way procedure. I don't know of a way to simply toggle attacks on and off without using a metamorph ability. |
| 03-04-2004, 12:46 AM | #5 | |
Quote:
well i was thinking about it and I found of something that could be done Using the EVENT units(generic) is being the target... (well that event you shoulda know) CONDITION if the owner of target unit is...(basically if the target is an enemy) ACTION stop attacking unit , (this should work, ) or using the PAUSE/UNPAUSE unit action What do you guys think??? |
| 03-05-2004, 09:17 PM | #6 |
You can prevent attacks with drunken haze and silence. Originaly, drunken haze doesn't have this option checked and only slows down enemies and makes them miss, while silence only prevents spell attacks. But you can make a custom ability on the basis of drunken haze, give it 0 area of effect, go to "attacks prevented" field and check what you want to prevent (ranged attacks, melee attacks, spells, special) and then you can give this ability to a dummy unit and use it with triggers to make any one unit not be able to attack. The way this works is that inability to attack lasts only a set amount of time, and it can be dispelled. It makes the unit unable to attack, but it can still move around. |
| 03-05-2004, 09:49 PM | #7 |
Nice, i didnt know that thankz Well i Found a way to hide abilities, well sorta off , give the unit(only with heros) an item based on orb of lighting(new) with an ability based on orb of lighting(new)(yeah the same ^_^ ) and then give the ability you want to orboflighting(ability), well maybe all of you know this but i discovered something interesting, you can REMOVE the ability of the item with triggers the same way you remove the ability from an unit, using :remove breathoffire(the ability) from trigering unit, It seem that the guys from Blizzard really hide the ability from an item on the unit, thats why when you give an ability to a hero carrying an item that have the same ability it doesnt appear on the unit :8 :8 |
