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.
[03:25 am]
Oh_Man -- https://youtu.be/R_6bsf9REkY anyone ever tried playing SC ghost?
[03:07 am]
Vrael -- though I wonder if at that level basically almost every match is over in like 3 minutes
[03:07 am]
Vrael -- yeah good point lets see the highlights reel from that
[03:06 am]
Oh_Man -- thats how it was trained to begin with, thousands of AI vs AI matches
[03:06 am]
Vrael -- see how far we can really take things
[03:06 am]
Vrael -- what they need to do is have some AI vs. AI matches
[03:06 am]
Oh_Man -- i'm sure there's a limit to that
[03:06 am]
Vrael -- if your mediocre army can fight perfectly every time, why bother with strategy
[03:05 am]
Vrael -- but from a gameplay perspective I think all its shown is that you can trade 1000's of apm to make up for lack of strategy
Please log in to shout.


Members Online: O)FaRTy1billion[MM], Roy