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