Moving Location
May 8 2019, 3:19 pm
By: nakedput  

May 8 2019, 3:19 pm nakedput Post #1



Hi, what triggers can I use to do "moving locations". So for example, upon a unit dying somewhere on the map; how do I get this location to create a flag or something. I've seen this done on some maps but no idea how they pull this off. Any help is appreciated.



None.

May 8 2019, 3:30 pm Roy Post #2

An artist's depiction of an Extended Unit Death

It depends on your map requirements. The simplest way to accomplish this is if the player only owns one instance of the unit you want the location to follow:
Location Tracking
Players

  • Player 1
  • Conditions

  • Current Player commands exactly 1 Terran Marine
  • Actions

  • Move location 'p1' on Terran Marine owned by Current Player at 'Anywhere'
  • Preserve Trigger

  • Creating Flag
    Players

  • Player 1
  • Conditions

  • Current Player commands exactly 0 Terran Marine
  • Actions

  • Create 1 Flag at 'p1' for Current Player


  • If your player owns multiple units that you want to track, things become more complicated. You can keep locations tracking certain units with Location IDs, depending on the unit's size and movement speed.

    If you need something that specifically moves the location onto a dying unit, you can look at the Duplicating Marines concept map. Combined with Super Hyper Triggers, this should work at a 100% success rate, as opposed to the 50% success rate with regular hyper triggers.




    May 8 2019, 4:08 pm nakedput Post #3



    Wow thanks for the quick response. Works like a charm.



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [06:04 pm]
    NudeRaider -- ihjel
    ihjel shouted: "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
    ihjel
    ihjel shouted: "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
    it's rather inconvenient actually, as it requires you to transfer it to Custom Score which might even interfere with what you're measuring. But IIRC you can also use EUDs to display it which by now could actually be somewhat convenient.
    [2026-11-11. : 9:25 pm]
    ihjel -- "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
    [2026-11-11. : 6:59 pm]
    Symmetry -- I just pasted what google ai told me to try to form a feedback loop
    [2026-11-11. : 1:24 pm]
    NudeRaider -- UndeadStar
    UndeadStar shouted: https://staredit.net/topic/18961/ <= wow, if there wasn't a capital letter on almost every word in the title, and a link in the signature, I may not have guesses it's an AI bot. I don't know much about map editing, but the content may even be relevant enough to be kept.
    Yeah, I've noticed it, but it raised a couple of relevant questions and kept the ad to the signature so if someone were to engage with the topic it could be a net positive which is why I kept it. We're not necessarily anti-bot, just anti-spam. Thanks to Symmetry who realized my hope. :)
    [2026-11-11. : 8:09 am]
    Zycorax -- Greed
    [2026-11-11. : 3:25 am]
    Symmetry -- why do the oligarchs want our mapping strategies???
    [2026-11-11. : 3:24 am]
    Symmetry -- the question is why though
    [2026-11-11. : 1:10 am]
    Butch -- made me feel really sad and stupid and fat
    [2026-11-11. : 1:10 am]
    Butch -- I got duped by one and replied and then realized after
    [2026-11-10. : 11:26 pm]
    Sie_Sayoka -- the turings have tested
    Please log in to shout.


    Members Online: MartiEspluga603, AleixFontcuberta525, QuimSoldevila726