FANDOM



Returns the info of the units sub class local JobID,JobName = GetVocSubInfo("unit")

Input Edit

unit: string (player, target, party1, pet, targettarget, mouseover...)
 this appears to not matter as it always returns the players information.

Return Edit

JobID:  number-related to Secondary or support class 1-8 for Players.
JobName:  string-Name related to Secondary or support class 

Example Edit

/script local JobID,JobName = GetVocSubInfo("unit"); DEFAULT_CHAT_FRAME:AddMessage("Job no.:"..JobID.." Job Title:"..JobName)

--Qaz1qaz1qa 07:43, 6 March 2010 (UTC)

API:GetVocInfo

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.