Wikia

WoWWiki

Watchlist Recent changes

API GetTrainerServiceAbilityReq

Main Menue




Gets the name of a requirement for training a skill and whether the player meets the requirement.

local ability, hasReq = GetTrainerServiceAbilityReq(trainerIndex, reqIndex)


Arguments Edit

trainerIndex 
Number - Index of the trainer service to retrieve information about. Note that indices are affected by the trainer filter. (See GetTrainerServiceTypeFilter and SetTrainerServiceTypeFilter.)
reqIndex 
Number - Index of the requirement to retrieve information about.


Returns Edit

ability
String - The name of the required ability.
hasReq 
(Boolean?) - Flag for if the player meets the requirement.

Pages on WoWWiki

95,750pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
58,025photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki