• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Solved] change attack type

Status
Not open for further replies.
Level 10
Joined
Apr 27, 2012
Messages
235
Hi all,
upon upgrade, I want a certain unit type to have the attack type ''siege'' instead of ''normal''.

I want the icon of the attack to show the symbol of the new attack type. The attack type will be REPLACED, so the old attack needs to disappear.


I don't want to use:
- chaos
- metamorphosis, bearform etc

... because I don't want to create extra ''duplicate'' units.




[I tried using an alteration of the fire orb ability. I made one that activated attack 1 and another one that activated attack 2. When added/removed via trigger to a unit that, by default, has none of it's attacks activated, it should work. But when I set the attack index of a ''fire orb'' based ability to ''1'', it will still activate attack 2. It's bugged!]

 
You could always make the unit use the attack type 2, Attack Type 1 = Normal, Attack Type 2 = Piercing. Disable Attack Type 2 for the selected unit and then make a new upgrade that enables Attack Type 2 when researched.

11rchuc.png
 
Level 10
Joined
Apr 27, 2012
Messages
235
Tell upgrade to deactivate previous attack and activate 2. attack with afterupgrade dmg type.

EDIT: Ninja'd by genin ^^


thanks to all 3 of you. These things combined helped me to solve the problem :)


I did as rulerofiron99 said and looked at the Corrosive Breath Upgrade - also I used 2 different attacks as genin32 and Eagle XI said.


Thanks to all of you! +rep for everyone :)





[Fun Fact - I tried this approach before but sth must have been wrong coz it didn't seem to deactivate Attack 1 when I told the upgrade to only activate Attack 2 - but now it works!! :)]

 
Status
Not open for further replies.
Top