Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Unburrow trigger?
Unburrow trigger?
This topic is locked. You can no longer write replies here.
Dec 22 2015, 10:35 pm
By: TristanOfVP  

Dec 22 2015, 10:35 pm TristanOfVP Post #1



I used the search and couldn't find a clear answer. It's been a while since I've made a map but is there a way to order units to unburrow with a trigger? I want to create burrowed units and have them unburrow.



None.

Dec 22 2015, 10:50 pm Roy Post #2

An artist's depiction of an Extended Unit Death

The "Order" action will make them unburrow, but of course you'll have to tell them to move somewhere. The typical solution is to center a location on top of the burrowed unit, and then order the unit to move to the location.

Unburrow
Players

  • Player 1
  • Conditions

  • (Your conditions)
  • Actions

  • Move location labeled 'Unburrower' on Zerg Zergling owned by Current Player at 'Anywhere'.
  • Issue order to all Zerg Zergling owned by Current Player at 'Unburrower': Move to 'Unburrower'.


  • If moving a location over the unit isn't feasible (e.g., you have several units that need to unburrow and can't use Give Unit to cycle through them), you can issue an order and then attempt to move them to an unwalkable terrain tile, which would interrupt their order command.

    Unburrow Alternate
    Players

  • Player 1
  • Conditions

  • (Your conditions)
  • Actions

  • Issue order to all Zerg Zergling owned by Current Player at 'Burrowed': Move to 'Anywhere'.
  • Move all Zerg Zergling owned by Current Player at 'Burrowed' to 'Unwalkable'.


  • Edit: Thanks to Sacrieur for verifying that the wait between the order and move on the alternate method is unnecessary.

    Post has been edited 3 time(s), last time on Dec 25 2015, 12:20 am by Roy. Reason: Thanks, Sac!




    Dec 22 2015, 11:27 pm TristanOfVP Post #3



    It worked, thanks!



    None.

    Dec 24 2015, 9:17 am Wormer Post #4



    There is one interesting twist with this. Not very important or useful, but I'm not sure if it's really mentioned anywhere. If you move the burrowed unit under the structure and use a patrol instead of move for unburrowing then it should unburrow and stay still on top of that structure.

    SEN I love you! :flowers:



    Some.

    Dec 25 2015, 12:20 am Sacrieur Post #5

    Still Napping

    It's unreliable to use Roy's second method, after careful and extensive testing revealed that there is quirk with it which causes the unburrowed unit to complete its order despite having been moved to unwalkable terrain.

    Since there is no solution for this presently, it's best to implement the first one.

    Post has been edited 3 time(s), last time on Dec 25 2015, 10:01 pm by Sacrieur.



    None.

    Dec 26 2015, 1:51 pm 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

    Quote from Sacrieur
    It's unreliable to use Roy's second method, after careful and extensive testing revealed that there is quirk with it which causes the unburrowed unit to complete its order despite having been moved to unwalkable terrain.

    Since there is no solution for this presently, it's best to implement the first one.
    then just combine it. Order to move to the location on them and then move them to unwalkable.




    Dec 27 2015, 12:43 am Sacrieur Post #7

    Still Napping

    Quote from NudeRaider
    Quote from Sacrieur
    It's unreliable to use Roy's second method, after careful and extensive testing revealed that there is quirk with it which causes the unburrowed unit to complete its order despite having been moved to unwalkable terrain.

    Since there is no solution for this presently, it's best to implement the first one.
    then just combine it. Order to move to the location on them and then move them to unwalkable.

    This is the first solution Roy posted with an unnecessary step. The second solution is for the instance you cannot center a location on the burrowed unit.



    None.

    Dec 27 2015, 12:11 pm NudeRaider Post #8

    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

    That "unnecessary step" is supposed to prevent them from actually going to the center of the location after unburrowing. Even though it may quirk at times there's no reason to leave it out entirely.

    The "location on them" is the supposedly preplaced location 'Burrower' from Roy's 2nd solution.

    Quote
    It's unreliable to use Roy's second method, after careful and extensive testing revealed that there is quirk with it which causes the unburrowed unit to complete its order despite having been moved to unwalkable terrain.

    Since there is no solution for this presently, it's best to implement the first one.
    Also there might be ways around that as well. Spontaneous ideas would be to wait for 1 loop then move them again, or give them to a neutral player before moving, then give them back.

    Post has been edited 3 time(s), last time on Dec 27 2015, 12:23 pm by NudeRaider.




    Dec 28 2015, 4:19 pm Sacrieur Post #9

    Still Napping

    Quote from NudeRaider
    That "unnecessary step" is supposed to prevent them from actually going to the center of the location after unburrowing. Even though it may quirk at times there's no reason to leave it out entirely.
    A 6.1% failure rate is plenty reason to leave it out. Any failure rate is plenty reason to leave it out.


    Quote
    Spontaneous ideas would be to wait for 1 loop then move them again
    Already tried it; doesn't work.


    Quote
    or give them to a neutral player before moving, then give them back.
    You can't give the units, that's why you're using the second method:
    Quote from Roy
    (e.g., you have several units that need to unburrow and can't use Give Unit to cycle through them)




    None.

    Dec 28 2015, 5:49 pm NudeRaider Post #10

    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

    Quote from Sacrieur
    Quote
    or give them to a neutral player before moving, then give them back.
    You can't give the units, that's why you're using the second method:
    Quote from Roy
    (e.g., you have several units that need to unburrow and can't use Give Unit to cycle through them)
    But you have a preplaced location on them, right? So give them all. Or how about using burrow detection to find out which to cycle through?
    Anyways it was just a random idea. If those are not feasible there might different workarounds.
    I think Inferno was it that suggested ordering after unburrowing.




    Dec 28 2015, 7:32 pm Roy Post #11

    An artist's depiction of an Extended Unit Death

    Quote from NudeRaider
    But you have a preplaced location on them, right? So give them all. Or how about using burrow detection to find out which to cycle through?
    Give Unit is a disruptive trigger action, and it is not appropriate for many games to use it, especially for player-controlled units.

    Say you have three units selected and burrow them all, which fires the trigger to unburrow them. If you cycle through each of the three units with "Give Unit", all those units get deselected in the process. The player would then have to reselect all three units, creating a bad game experience. If you need to avoid this bad game experience, you have to avoid using "Give Unit", which is the only practical means of location-based cycling. For these instances I suggested the alternative, which has its own drawbacks as described by Sacrieur. Another alternative, if feasible, would be to use an LID system for all possible burrowed units.

    However, the person who started the thread has resolved the issue, so in an effort to prevent this thread from going further off-topic, I'm locking it. If you want to continue discussion on corner cases and alternatives, please start a Theories and Ideas topic.




    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [03:20 am]
    Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
    [2026-10-11. : 6:02 am]
    Donald -- Samase
    [2026-10-09. : 2:53 am]
    Mr.BurnLiquid -- Symmetry
    Symmetry shouted: I'll check it out this weekend!
    Thanks
    [2026-10-09. : 2:47 am]
    Symmetry -- I'll check it out this weekend!
    [2026-10-09. : 2:40 am]
    Mr.BurnLiquid -- Symmetry
    Symmetry shouted: Another map maker? Damn we really ARE back
    I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
    [2026-10-09. : 2:27 am]
    Symmetry -- Another map maker? Damn we really ARE back
    [2026-10-09. : 1:51 am]
    Mr.BurnLiquid -- Ultraviolet
    Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Now that I wanted to change my avatar, the error image is showing up, haha.
    [2026-10-09. : 1:34 am]
    Mr.BurnLiquid -- Ultraviolet
    Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Mr.BurnLiquid
    Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
    I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
    [2026-10-09. : 1:33 am]
    Mr.BurnLiquid -- Ultraviolet
    Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
    Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
    Please log in to shout.


    Members Online: Sie_Sayoka, Butch