SC2Mapster Forums

Development > Data

Units spawned in a line, first unit got highest priority.

  • 4 posts
    #1 Nov 15, 2012 at 22:31 UTC - 0 likes

    I got a trigger that spawns 20 units, all units are of the same type and they are traveling the same path.

    The thing is that I want to make my towers (this is a TD) prioritise the first target higher. I was thinking of the setting the Combat: Attack Target Priority with a trigger, but I cant seem to be able to do that, is this possible with Data, I cant seem to be able to think of a solution.

    #2 Nov 16, 2012 at 20:51 UTC - 0 likes

    Tried using Target Sorts?

    #3 Nov 17, 2012 at 00:18 UTC - 0 likes

    @DrSuperEvil: Go

    Well, I looked at it, but could not figure out how it worked. If you know how it works, could you please explain it to me? :)

    #4 Nov 17, 2012 at 18:24 UTC - 0 likes

    Target sorts set what targets get picked if there is a limited number of choices out of a larger number.

    The Behavior Count target sort prioritizes based on the number or lack of certain behaviours. For example a hidden buff applied to your desired unit.

  • 4 posts

You must login to post a comment. Don't have an account? Register to get one!