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