Thread Tools Display Modes
Prev Previous Post   Next Post Next
07/25/22, 04:21 PM   #1
trollusk
AddOn Author - Click to view addons
Join Date: Nov 2020
Posts: 8
Best way to update compass pin for a moving object?

I'm making an addon that adds some pins to the compass, using CustomCompassPins. Some of the pins are for static things like banks, others are for things that move around:
- group members
- more prominent cardinal compass directions (these have to move when the player moves)

Currently I have an Update that runs every 500ms by default, and recreates these pins. It would be nice to be able to update them more smoothly, but I don't want to hog the CPU and cause performance problems.

Is there a more performance-friendly way to update the pins?
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Best way to update compass pin for a moving object?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off