Problem with Burrow

brized

New Member
Reaction score
0
Hello. I'm currently having a problem with the crypt fiend's burrow ability on a custom crypt fiend unit and its special version for its burrowed state. I have the burrow ability set so that the alternate form of the unit and the normal form of the unit correspond to the custom units. Both units are also under the same classification.

After the unit burrows and then unburrows, it plays its death animation after it finishes unburrowing, even though it's still alive. Then when the unit is attacked the game crashes straight to the desktop. No fatal error message. I do have triggers to cause the unit to cast spells when attacked. Could the problem be some sort of interaction with morphing and those triggers? Or could it be that the normal form of the unit and the burrowed version of the unit have to have certain fields in their unit data as perfectly matching? I know the triggers by themselves aren't the problem, as I switched out burrow for windwalk, and the game doesn't crash after the unit becomes visible again. So what are the ways that burrowing (or mophing abilities) can go horribly wrong?
 

brized

New Member
Reaction score
0
Ok, I thought I had fixed it but I was wrong. The game won't crash when I have the custom unit set as controllable by a player. I had the unit set as controllable to try to speed up the debug process, so I thought it was fixed. It turns out the game will only crash when the unit is set to being computer controlled.

Furthermore, I've set the tech tree equivalent to correspond to the special burrowed version of the unit (just the way the normal crypt fiend is set to correspond to the burrowed crypt fiend), and all the values that are otherwise the same between a normal crypt fiend and its burrowed version match up with the custom versions.

Currently, I'm having the unit use windwalk instead of burrow as a substitution so the game won't crash. But I'd much rather be able to use burrow. Any ideas? I've spent close to 10 hours over the past 3 days trying to debug this :banghead:
 

brized

New Member
Reaction score
0
I've already changed the burrow ability to correspond correctly between the custom units (instead of corresponding with the base crypt fiend and burrowed crypt fiend units). And I already edited before you responded ;p
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
When he said edit your post, I think he meant not post 3 times in a row, just modify the first post.
 
L

Lordbevan

Guest
Try using all WC3 data but let it be controlled by a computer player. If the prob persists, then its Blizzard fault.
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Maybe it's because the unit and the morphed from are different units. I mean like a unit morphs to a hero or vice versa...They both need to be heroes or normal units.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top