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.
[08:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[05:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[05:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[02:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
Please log in to shout.


Members Online: Dem0n, NudeRaider