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

Rotate an unit with Arrows keys without leaks

Status
Not open for further replies.
Level 16
Joined
Mar 25, 2016
Messages
1,327
there is a GUI function: make unit face angle/unit/point. If you use make unit face angle then you have what you want without leaks

you can also prevent the leaks in your method by removing the locations, but just changing facing is obviously better.
 
Level 23
Joined
Apr 8, 2017
Messages
1,605
there is a GUI function: make unit face angle/unit/point. If you use make unit face angle then you have what you want without leaks

you can also prevent the leaks in your method by removing the locations, but just changing facing is obviously better.

"there is a GUI function: make unit face angle/unit/point. If you use make unit face angle then you have what you want without leaks" can you show me?

"you can also prevent the leaks in your method by removing the locations, but just changing facing is obviously better" yes i know it but i was looking an easiert. call RemoveLocation(udg)
 
Status
Not open for further replies.
Top