SC2Mapster Forums

Development > Data

How to limit Rally distance?

  • 6 posts
    #1 Dec 19, 2012 at 18:50 UTC - 0 likes

    HI!

    My map has 2 sides. Left side is for team 1 and right side is team 2. There is a building that can train units, but i need to limit the distance of the rally to lets say 20 so that the units thats tarined wont go to the other side and since it's an instant placement the opposing unit would reveal the other teams area. the map has a fog of war for each side so teams cant see each others build.

    How do i limit the rally's max distance?

    #2 Dec 19, 2012 at 21:43 UTC - 0 likes

    Cannot think of a simple fix for this without having a buff that canels the rally if it is too far. Problem is the requirements only apply to placing the rally and not to it being in the location so you cannot use a buff that validates the distance of the rally point which in turn is used by a requirement for the rally.

    Last edited Dec 19, 2012 by DrSuperEvil
    #3 Dec 19, 2012 at 23:01 UTC - 0 likes

    @DrSuperEvil: Go

    Thx!

    I was polaying around with validators, but my knowlage is limmited on them. Do you have an idea how to set up 1 to messure distance?

    #4 Dec 20, 2012 at 19:32 UTC - 0 likes

    The Location Range type is what you want.

    #5 Dec 21, 2012 at 23:16 UTC - 0 likes

    @DrSuperEvil: Go

    I did set up the validator here is a pic.

    But it doesnt prevent me to set the rally across the whole map.

    There is a pic how I applied it( maybe there is the proble idk)

    Last edited Dec 21, 2012 by ElBushido
    • Dwm_2012-12-21_18-14-49-80.jpg
      validator
    • Dwm_2012-12-21_18-21-44-84.jpg
    • Dwm_2012-12-21_18-21-58-75.jpg
    #6 Dec 22, 2012 at 11:01 UTC - 0 likes

    Try the less than or equals comparison. Also put it both under the use and set validators.

    Hmm, did not know rally could use validators directly.

  • 6 posts

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