Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Detecting When Unit Unburrows
Detecting When Unit Unburrows
Dec 10 2008, 5:58 am
By: SiN  

Dec 10 2008, 5:58 am SiN Post #1



I'm trying to find a quick system to detect when a zergling unburrows.

My previous test involved using a dropship. Whenever the dropship unloaded a marine the marine was reloaded and a burrowed zergling was created underneath. I then created a cloaked wraith over the zergling that could kill it in one shot after it saw it. However, it took at least half of a second for the wraith to take a shot after the zergling unburrowed, which is too slow. And i do not like the look of the zergling's death.

I know that i could fine tune this system more but i would like a more accurate way to detect when a zergling unburrows.



None.

Dec 10 2008, 6:10 am DrunkenNoodle Post #2



One method I can currently think of is having a DT or another unit be constantly moved to a 1x1 location following the ling. If the DT is in the 1x1 location, the zergling would be burrowed. If the DT is not in the location, then the zergling is unburrowed.



None.

Dec 10 2008, 6:27 am SiN Post #3



That's a good idea.
But I'm worried how long it would take for the dt to move.
And preferabely, I wouldn't want the dt to obstruct ground units.
I will try it though



None.

Dec 10 2008, 6:30 am DrunkenNoodle Post #4



You can use triggers to move the DT.



None.

Dec 10 2008, 8:28 am rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

http://www.staredit.net/wiki/Burrow_Detection



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Dec 10 2008, 2:54 pm Ahli Post #6

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

You need to make sure that you don't use a 1x1 tile location. You need a location that is smaller than the unit which you want to detect when it's burrowed.




Dec 12 2008, 3:41 am SiN Post #7



Oh i see how this works now.
Thank you very much rockz



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:12 pm]
Ultraviolet -- :wob:
[2026-2-04. : 4:17 pm]
Zycorax -- :wob:
[2026-2-02. : 8:54 pm]
Ultraviolet -- :wob:
[2026-2-01. : 7:31 pm]
NimoStar -- Anyone able to read opcodes / hex / disassembly? https://staredit.net/topic/18809/#11
[2026-2-01. : 4:24 am]
Ultraviolet -- this color is one of the last vestiges of those days
[2026-2-01. : 4:24 am]
Ultraviolet -- good ole NerdyTerdy
[2026-2-01. : 4:21 am]
NudeRaider -- *still see
[2026-2-01. : 4:20 am]
NudeRaider -- Also I like how someone quoted you a few posts down and there you can still your old username.
[2026-2-01. : 4:18 am]
NudeRaider -- Neither did I. ;) I tried to link a Blizzard source but I think they eventually took it down for some reason, so I was happy to find it here. :)
[2026-2-01. : 12:21 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: DarkenedFantasies yeah, that much is obvious, but I can only check if that's actualy the case (and not just the size rounded down) if I download the file.
didn't expect to see a post from myself years ago actually being helpful https://staredit.net/topic/18852/#2 :lol:
Please log in to shout.


Members Online: flippantmanacle