• 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!

[Trigger] Checking if units are in region

Status
Not open for further replies.
Level 5
Joined
Nov 7, 2007
Messages
134
Hi, I was wondering, when you check if there is units within X range of a point or inside a region, what is it with the unit that determines if it is there or not? Is it the collision size?

I mean checking with triggers of course, that's why I posted it here.
 
I think it is the collision size. So if you have a very small collision size the centre of your unit must be within range or in the region, but if you have a very big collision size the centre of the unit can be outside. NOTE: I might be wrong, because I have never tested this.
 
Hm, alright, I suppose I could experiment a little, thank you anyway.

EDIT: Apparently it is NOT the collision size, I did some experiments and I think it is the center of the unit that has to be within the region. So consider this solved.
 
Status
Not open for further replies.
Back
Top