Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: A way to detect burrowed unit?
A way to detect burrowed unit?
This topic is locked. You can no longer write replies here.
Apr 20 2010, 12:27 am
By: i3righton  

Apr 20 2010, 12:27 am i3righton Post #1



So I'm trying to do this,
current player brings at least 1 zealot to location. Give all zergling at location to current player, these zerglings are burrowed. I'm trying to get it so when the current player unburrows these zerglings it's given to another player. Is there anyway I can do this?



None.

Apr 20 2010, 12:32 am Jack Post #2

>be faceless void >mfw I have no face

http://www.staredit.net/wiki/Burrow_Detection



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Apr 20 2010, 12:57 am i3righton Post #3



Ok that helped a bit, but there's still a problem.

The burrowed zerglings has other zerglings burrowed/stacked on top of each other, and so if one is unburrowed and I try to give 1 zerg zergling to another player it gives a burrowed zergling. Also I want it so the player who can unburrow the zergling can only command one at a time so they have to unburrow all of them manually



None.

Apr 20 2010, 1:18 am CecilSunkure Post #4



I don't understand what the problem is. Could you explain what you want to do and why you can't in a more clear way?



None.

Apr 20 2010, 3:03 am Jack Post #5

>be faceless void >mfw I have no face

I'm fairly sure what you want to do is near impossible.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Apr 20 2010, 9:26 am NudeRaider Post #6

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

If the zerglings are stacked there's no way in conventional mapping of controlling which ling you give.
But it's probably possible to check for their unit ID if they are all preplaced.

In any case it's better to find a way to move the unburrowed ling away from the stack:
Otherwise you can try always ordering all lings in that location a bit to a nearby location because I think that doesn't unburrow human controlled units. Not sure though.
Otherwise you can force the move by putting a powerup on top of the stack so when a ling unburrows he automatically unstacks to another tile.
Unwalkable tiles can help you force the direction.




Apr 20 2010, 12:30 pm rockz Post #7

ᴄʜᴇᴇsᴇ ɪᴛ!

move all the zerglings under some buildings after you unburrow one of them, then give the zerglings which are unburrowed to another player, then move the burrowed zerglings back.

If you want to only do one at a time, then give all the zerglings to player 9 or something, then give at most 1 at that location to the player.



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

Apr 20 2010, 9:27 pm i3righton Post #8



Quote from NudeRaider
Otherwise you can force the move by putting a powerup on top of the stack so when a ling unburrows he automatically unstacks to another tile.

Quote from rockz
If you want to only do one at a time, then give all the zerglings to player 9 or something, then give at most 1 at that location to the player.

Thanks guys! It's working perfectly, never would have thought of doing it that way.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7: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
Please log in to shout.


Members Online: JohnnyTheWolf, Dem0n