Region matching specific Clifflevel

Discussion in 'Starcraft 2 (SC2) Editor Help' started by hallidalli, Jun 8, 2014.

  1. hallidalli

    hallidalli New Member

    Ratings:
    +0 / 0 / -0
    I would like to create a trigger which detects particular Units beeing in a Region covering a specific Cliff level. I'm used to Starcraft Broodwar system, where you just check a Flag in the Region properties so it will only affect a the selected Clifflevel. However, I just can't manage to find a solution for this in SC2.

    Well... I could create the regions out of 1000 shapes, so only a specific clifflevel is covered, but I'm sure there is a much better way... I mean you can even paint textures etc. based on Cliff level. There must be an more efficient way of doing this.
     
  2. Siretu

    Siretu Starcraft 2 Editor Moderator Staff Member

    Ratings:
    +295 / 0 / -0
    This might not be what you're looking for, but you could check if the unit is in the region AND if the unit's height equals whatever the height is at that cliff level.
     
  3. hallidalli

    hallidalli New Member

    Ratings:
    +0 / 0 / -0
    Hmm, since I couldn't find a better solution I was going to make it the way you suggested. Theres just one Issue... The height of the Unit is always 0. I tried Height of Unit and Height of Point (Position of Unit) but both just return 0.

    UI - Display (Text((Height of (Position of Unit[(Picked player)]))) with Any Precision decimal places) for (All players) to Subtitle area

    Any Idea what I'm doing wrong?
     

Share This Page