HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

follow?

01-02-2003, 11:29 PM#1
BananaTwist
This is so annoying, i am making a map and i want units to follow the main guy, but they follow too far away. Any way to make them closer
ex:
the first line is the followers and the second the main guy
Code:
-            -
i want them to be
-  -
01-03-2003, 04:41 AM#2
Sytadel
Create a region and then constantly move it to a location relative to the followee. Say you want the follower, to always be 500 units behind the followee, the horizontal and vertical components can be given as such:

negative 500*sina = A --- where a is the direction the demon hunter is facing. And, in conjunction with that:
negative 500*cosa = B --- which gives the horizontal distance.

Where a is the direction the followee is facing. So basically, the region will be placed at the followee, offset by (-500*cosa, -500*sina). Hope you understand this, good luck.