Is there an easy way to identify where a rectangle (for trigger detection) is on the map? I'm trying to find the tier-up for a map that I'm playing, but it's not designed well on the map itself, so I don't know where it is; I only know the rectangle coordinates from looking into the JASS code.
Edit: Without having to deprotect the map
Solution:
So, I made a pretty hacky solution, and I just displayed the unit's X and Y coordinates after using the -tele command from JJ's CP. I'll include the JASS code if anyone wants to snatch it.
Code: Select all
call DisplayTextToPlayer(p2p,0,0,"Test: X:"+R2S(GetUnitX(u2u))+" Y:"+R2S(GetUnitY(u2u)))