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.
[04:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
[02:19 am]
Symmetry -- NudeRaider
NudeRaider shouted: Symmetry I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
[11:43 pm]
Ultraviolet -- let's take each other's clothes off :teach:
[11:03 pm]
Vrael -- :teach:
[11:03 pm]
Vrael -- I mean, my clothes
[11:03 pm]
Vrael -- I will take your clothes off
[07:13 pm]
NudeRaider -- I am gettin' so hot :teach:
[04:08 pm]
lil-Inferno -- so take off all your clothes
[02:38 pm]
Ultraviolet -- ooh it's gettin hot in here
[09:38 am]
NudeRaider -- Symmetry
Symmetry shouted: I meant more why is it relevant
I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
Please log in to shout.


Members Online: S.Friedman