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.
[12:34 pm]
NudeRaider -- curiosity kills the cat!
[06:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
[11:05 pm]
Ultraviolet -- :wob:
[2024-5-18. : 3:55 pm]
Zoan -- :wob:
[2024-5-18. : 10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[2024-5-18. : 3:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
Please log in to shout.


Members Online: Roy