• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Burrow ability

Status
Not open for further replies.
Level 3
Joined
May 24, 2011
Messages
47
Hello fellow Warcraft 3 moders. I was looking for burrow ability, which would AI use more like zergs in Starcraft. Is there any in Warcraft 3? Or some way to create one? I tried all burrow abilities I found, but the unit always unburrow itself, in case of Crypt Fiend, it will burrow just when need to regenerate health. I wasn´t succesfull with triggers neither.

In Starcraft, zerg units used to burrow when idling, unburrow when attacking or spot enemy.
 
Level 3
Joined
May 24, 2011
Messages
47
Well, I didn´t finish actual trigger. It was based on the Bear Form ability. I would give order to that ability, then there is event "Notices a target in range", but is is only for specific unit, not unit type or generic unit.
 
Level 7
Joined
Jul 3, 2011
Messages
251
mathuzzz, the way AI use burrow is hard-coded into wc3, and since you are saying crypt fiends use it to regenerate health, i presume you are using melee map AI, you need to code your AI yourself if you want to achieve such a thing. It wouldn't be hard, but there is no way you will get melee AI to do that.
 
Level 7
Joined
Jul 3, 2011
Messages
251
What do you mean? AI controlled pre-placed units? Pretty sure they will use them as normal units.

I suggest learning some JASS basics so you can trigger this, it wont be hard to make a simple AI to make them burrow as you wish, but you would have to entirely remake the AI since melee AI wouldn't be active, and i doubt anyone on hive has enough free time to do this efficiently.
 
Status
Not open for further replies.
Top