Region matching specific Clifflevel

hallidalli

New Member
Reaction score
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.
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
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.
 

hallidalli

New Member
Reaction score
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?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top