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.
    [01:53 am]
    Ultraviolet -- :lol:
    [06:51 pm]
    Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
    [06:50 pm]
    NudeRaider -- Vrael
    Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
    sounds like moisture control is often a pressing concern in your city
    [06:50 pm]
    Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
    [06:49 pm]
    Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
    [06:48 pm]
    Vrael -- On this Topic, I could definitely use some Introductions.
    [06:48 pm]
    Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
    [06:47 pm]
    Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
    [06:45 pm]
    NudeRaider -- Vrael
    Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
    beats me, but I'd make sure to pick the epitome of excellence and nothing less.
    [06:41 pm]
    Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
    Please log in to shout.


    Members Online: Oh_Man, jun3hong