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.
[07:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
Please log in to shout.


Members Online: anoeth47