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.


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

  • 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

  • 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.


      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [10:17 am]
    O)FaRTy1billion[MM] -- :wob:
    [2020-5-28. : 10:57 pm]
    lil-Inferno -- That's legit the only other map trailer I can think of, also by Tux
    [2020-5-28. : 10:56 pm]
    lil-Inferno -- A&O Saga?
    [2020-5-28. : 8:44 pm]
    youarenotworthy -- The trailer in question uses that exact music I linked. In fact, it's the main reason I remember it at all, because originally I was thinking it was a Matrix map, but I think it only used that music and that's why i thought that.
    [2020-5-28. : 8:43 pm]
    youarenotworthy -- Thanks NudeRaider, I found that, it's not it.
    [2020-5-28. : 8:25 pm]
    NudeRaider -- youarenotworthy
    youarenotworthy shouted: If anyone remembers though, the map/trailer for his map used this music: ""
    the music is not exactly the same, so I'm not sure if it's another piece entirely or just another version but maybe this is it? this would be the trailer to Tuxedo-Templar's Rush map.
    [2020-5-28. : 7:48 pm]
    youarenotworthy -- If anyone remembers though, the map/trailer for his map used this music: ""
    [2020-5-28. : 7:46 pm]
    youarenotworthy -- Thanks lil-inferno... I'm not sure if it was tuxedo templar. I remember his stuff being good too, but I can't find the trailer the guy made. I might be mistaken about his name. Either way, thanks. I'm gonna give up on trying to find it XD
    [2020-5-28. : 6:40 pm]
    Zycorax -- :wob:
    Please log in to shout.

    Members Online: Roy, goodspire