• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Can you trigger a region between two towers?

Status
Not open for further replies.
Level 1
Joined
Dec 5, 2007
Messages
3
Im trying to build a trigger that creates a custom region that exists as long as there is are two towers of a specified unit, in either a row or a column or diagonal. I'm also trying to figure out how to create a shimmering wall between the two points via trigger as well as long as those structures exist...

Anyone got any ideas? Thanks!
 
Level 11
Joined
Aug 25, 2006
Messages
971
Rects can only be rectangle. So diagonal won't work. Also, you can easily create a rect, however I'm not sure if it can be done in GUI.
Found it: Convert point with size to rect.
Convert coordinates to rect.

Edit: Clarification
 
Last edited:
Level 11
Joined
Aug 25, 2006
Messages
971
Lol I feel stupid. Thats what I meant. FIXED

Anyway: A region is multiple rects. So if you want using a whole bunch of rects you can combine them into a region and go from there.
 
Status
Not open for further replies.
Top