Returns the index of the currently selected trainer service. Selection in the recipe list is used only for display in the default UI and has no effect on other Trade Skill APIs.

See also Trainer functions.


selectionIndex = GetTrainerSelectionIndex()


  • selectionIndex - Index of the selected entry in the trainer service listing (between 1 and GetNumTrainerServices()) (number)