Thread Tools Display Modes
Prev Previous Post   Next Post Next
06/02/21, 07:34 AM   #1
pithka
AddOn Author - Click to view addons
Join Date: Jan 2021
Posts: 5
Filtering Achievements Page

I'm working on an achievement tracker and I'd like to add a feature that opens the journal to show ONLY a single achievement.

My current implementation is not quite what I want. I am using ShowAchievement() (shown below) to open the journal to the right place, but the scroll position is somewhat random so the achievement might be anywhere in the full pane and can still be hard to find.
Code:
control:SetHandler("OnMouseUp", function (control, mButton)
      SCENE_MANAGER:ShowBaseScene()
      ACHIEVEMENTS:ShowAchievement(aid)
    end)
What I would prefer to do is to update the achievement search bar with the name of the achievement so that it's the only result shown. I've been having trouble figuring out how to do this. Any thoughts?

Thanks,
@Pithka
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Filtering Achievements Page


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