View Single Post
06/21/17, 04:33 AM   #5
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
IsSkillLineIdUnlocked(skillLineId) = boolean isUnlocked
require a skillLineId and returns a bool..


GetSkillLineIdIndices(skillLineId) = number:nilable SkillType skillType, number:nilable skillIndex
require skilltype/skilllineindex and returns a number (the skilllineId)


GetSkillLineInfo(number SkillType skillType, number skillIndex) Returns: string name, number rank, boolean discovered, number skillLineId
is an existing func which will return an additionnal value (skilllineid)



Just to understand your desire, does IsSkillLineIdUnlocked return true when it exists in the skill list? Is it the same as looping over all the skill lines by index and trying to find a skill line that has the id in question?
it'll return true when the skilltype/skillline index (let's say "Dark Brotherhood") is unlocked.

our issue is that as I said and Rhyono too, there is a lot of cases now where skillType/skilllinexIndex can be a lot of possibilities.