View Single Post
06/16/15, 11:56 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,913
You can just use the event, create a callback function for that event and do a debug message output d("Active layer index: " .. activeLayerIndex) for the parameters layerIndex and activeLayerIndex.

If activeLayerIndex e.g. is 2 the main menu is shown somehow (inside the pop event).

Maybe there is some special activeLayerIndex for the NPC interaction too then.

But as I can see the answer for your search was given in that other lua/xml thread already.

Last edited by Baertram : 06/16/15 at 11:59 AM.
  Reply With Quote