HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

unit comes in range

02-08-2004, 05:55 PM#1
Dark Illidan
is the trigger units comes in range done from the edge of the model, or the middle of the model?
02-08-2004, 05:57 PM#2
DoCa-Cola
What the hell did you say? If you speak english we may be able to answer your question.

-DoCa
02-08-2004, 06:08 PM#3
Dark Illidan
there is a trigger that goes a units comes in range.
i want to know where the in range part comes from
is it th edge of the unit's model,
or is it from the center of the unit's model

it the clear enough for ya DoCa?
02-08-2004, 06:34 PM#4
LegolasArcher
Im not sure, but I *think* It is the edge. But it may be changed by collision size (possibly). Hmm, this makes me wonder what it does check...
02-08-2004, 07:29 PM#5
Dark Illidan
see thats what i want to know, because if make a big unit it could change every thing
02-08-2004, 07:39 PM#6
Shark
well, u make a small unit first, and tell us the results...
debugging is the key to good maps :)
02-08-2004, 07:49 PM#7
Dark Illidan
but how will i know the distance from the unit? lord this is going to be hard
02-08-2004, 07:58 PM#8
Shark
by making unit extra large and extra small with large and small collision sizes......and vice versa, small units with big collision sizes and the other one....
02-10-2004, 02:35 AM#9
Dark Illidan
i really dont want to do this, does any one out there know about this better?
02-10-2004, 04:36 AM#10
SirSalute
for wat i know, the unit in range will be the collision size of the units, but i thought normally unit in range will be accompanied with the area stated by you?

For other range type, check acqusition(not sure about spelling) range, which refers to the range which the units will engage the VISIBLE enemy. Sight range you should know.

Collision size will only prevent pathing and therefore also preventing enemy to reach the units.
Let say the unit has 32 collision size and the Units within range of units by 20. the condition should never triggers unless enemy is a flying unit.
but on other hand, unit collision size of 10 and the range stated is 200, as soon as the enemy stepped on the edge of the 200 range circle, the trigger is fired.

Hope you understand, i'm bad in my grammar, sorry.:ggani:
02-10-2004, 06:44 AM#11
Newhydra
It has to be from the middle of the unit....or the origin, however they designed it. At any rate, it is centered at the position of the unit. Otherwise they would have to create lots of locations and circles, to surround the unit. This doesn't happen