Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: How do you detect burrowed units
How do you detect burrowed units
Nov 7 2008, 1:45 am
By: Chubacca  

Nov 7 2008, 1:45 am Chubacca Post #1



What the title says, I need help



None.

Nov 7 2008, 2:14 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

1. Center a 1x1 pixel location on the unit in question
2. Create a unit there
3. Check if the unit you just created is inside the 1x1 pixel location. If it is, then the unit in question is burroweed because otherwise the unit you created would be dislocated and not inside.

Obviously fails when you walk with another unit just above the burrowed unit in question.




Nov 7 2008, 2:20 am rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

You may want to move a unit there, rather than create, but I can't remember if it has any effect on lag.
Also, 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?"

Nov 7 2008, 2:25 am Chubacca Post #4



o darn i was lookin for a tutorial in the tut section, i guess i didnt look hard enuf. thx guys



None.

Nov 7 2008, 2:29 am rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

wiki>>tutorial section. If SEN's wiki doesn't work, goto the maplantis wiki.



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

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
Please log in to shout.


Members Online: DiearAnother, Moose