• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[JASS] Rects & Regions + 1 question

Status
Not open for further replies.
Level 13
Joined
Nov 22, 2006
Messages
1,260
Ok, I want to clear this out, because nobody gave me a clear answer. What is the difference between those two? I know GUI both calls them Regions, and I know that a region can consist of multiple rects. How can I picture a rect in my head? Is it a square (like from region palette), or what? There is a function RegionAddRect(), how does a region look like after you add some rects? I'm confused.......

+ 1 question: Does anybody know how do I remove that thing when the mortar team can't shoot from close range? So I want the mortar team to be able to shoot from the close range. Any ideas?

Thanks for reading this
 
For the mortar team there is an option in the object editor,combat- min attack range is all you need to change, and as for the RegionAddRect() thing i'm also not to sure how that works ??
 
Ok, I want to clear this out, because nobody gave me a clear answer. What is the difference between those two? I know GUI both calls them Regions, and I know that a region can consist of multiple rects. How can I picture a rect in my head? Is it a square (like from region palette), or what? There is a function RegionAddRect(), how does a region look like after you add some rects? I'm confused.......
Rect is a rectangle, region can be defined as a group of rectangles, so you define the shape of a region by adding rects.
 
Status
Not open for further replies.
Back
Top