View Single Post
10-21-16, 12:56 AM   #22
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Why don't you just call a c_timer.after every 3 seconds and check if the mouse cursor position has changed inbetween. Ontop it should be possible to get the player facing direction and coordinates. You can check that too. If both are the same you can hide the ui if not you reset the c_timer.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 10-21-16 at 01:02 AM.
  Reply With Quote