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:48 pm]
    Ultraviolet -- :wob:
    [2024-4-21. : 1:32 pm]
    Oh_Man -- I will
    [2024-4-20. : 11:29 pm]
    Zoan -- Oh_Man
    Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
    You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
    [2024-4-20. : 8:20 pm]
    Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
    [2024-4-20. : 8:20 pm]
    Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
    [2024-4-20. : 8:18 pm]
    Ultraviolet -- Oh_Man
    Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
    oh ya I saw that when Armo posted it on Discord, pretty crazy
    [2024-4-20. : 8:09 pm]
    Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
    [2024-4-20. : 8:09 pm]
    Vrael -- woo baby talk about a time crunch
    [2024-4-20. : 8:08 pm]
    Vrael -- Oh_Man
    Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
    so that gives me approximately 27 more years to finish tenebrous before you get to it?
    [2024-4-20. : 7:56 pm]
    Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
    Please log in to shout.


    Members Online: Roy, Moose, Ghoster, Oh_Man