View Single Post
04/05/14, 05:58 PM   #1
Biki
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 34
Easy way of opening a specific interface

Hey guys,

so for my addon Achievement Tracker I tried to open the achievement screen (within the journal) when the user clicks on a tracked achievement within my tracker window.

After a long search, the following did what I needed:

Lua Code:
  1. SCENE_MANAGER:Show("achievements")

This does exactly the same as pressing J and selecting the Achievement-Tab, all in one line.

Finding the correct parameter is a bit trail and error I presume, or if you have access to the original lua files, there's ingamescenes.lua which is a great help.

Hope it helps.
  Reply With Quote