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.
    [12:32 pm]
    Oh_Man -- yea APM vs eAPM
    [08:48 am]
    NimoStar -- plus most of the human APM is just spam clicking APM inflation
    [08:47 am]
    NimoStar -- the thing with the "*12" thing is completely misleading. The AI isn't using two control groups, it can use each of those actions to command a single unit individually and issue different commands to each single unit.
    [08:06 am]
    NudeRaider -- NudeRaider
    NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
    *Pluto's wraiths
    [08:05 am]
    NudeRaider -- Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
    [02:18 am]
    Oh_Man -- Close enuf
    [2026-9-21. : 4:14 pm]
    Vrael -- perhaps there is a small professional player trapped in a box in the server rack where pluto is running? hmm?
    [2026-9-21. : 4:14 pm]
    Vrael -- 240*12*2 is 5760, where is the other 240 APM?
    [2026-9-21. : 3:44 pm]
    Oh_Man -- 1 action is selecting the unit and another action is moving it
    [2026-9-21. : 2:58 pm]
    Vrael -- 240*12 is 2880, where is the other 3000 APM?
    Please log in to shout.


    Members Online: Roy, Heinermann