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

Making unit face another unit

Status
Not open for further replies.
Level 7
Joined
Aug 17, 2012
Messages
256
I need help with a trigger! :goblin_jawdrop: I made it like this (tell me if you need the whole trigger's screen to help):
2yxkfnt.png


You see, the unit should go into the center of a region and then face the guy who's he gonna beat up, but he just keeps facing that way he went there.
Any ideas why? :ogre_datass:
 
Level 18
Joined
May 11, 2012
Messages
2,103
Maybe it is because the unit was still moving to the point after you ordered him to face the enemy, but i'm not sure.
Try to add 2 or 3 seconds or determine how long does it takes the unit to come to the point and then put wait equal to the time he needed to come and add 1 more second to that wait.

And you have Point leak.
Set that point into variable, and clean it in the end of the trigger
 
Status
Not open for further replies.
Top