• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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 8
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 8
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