This is a hard question to explain but if u ever played battle for raccoon city and got the mini gun u no what i mean. I basicly wont to no how i can make a uint follow another unit useing triggers. Its kinda like a teleaport were if the main unit moves the 2nd one follows it useing some trigger plz help.
Always:
Center Location "Location" on "Unit" owned by "Player"
Order "Other Unit" owned by "Other Player:" Move to "Location"
Preserve Trigger
That should be it.
1) Try to use normal english.
2) If you want it to teleport, do this:
Players:
What player you need
Conditions:
Always
Actions:
Center location X on "Target unit" at Anywhere
Move "Following unit" to location X.
Preserve trigger.
I didn't specify some things in the second action (move) because they depend on your situation.
if it's hypered, the always condition will make it stuck on the unit its following unable to do anything else besides moving. instead use the bring condition.
[Conditions]
-Always
[Conditions]
-Move Location on unit(thats supposed to be followed)
-Preserve trigger
[Conditions]
-Current Player brings exactly 0 of unit at location(thats following)
[Actions]
-Order issue move the unit at anywhere to location
-Preserve Trigger
it will be able to do other things while in the location, but will order it to move when its out of it.