Taking igf_GetTooltip as a guide I wrote in my MyFunction addon.;
Code: Select all
function igf_getQuestList()
local qq={}
for i=1,30 do
__, __, name = GetQuestInfo(i)
qq[i] = name or " "
pr(qq[i]) -- Debug
end
return qq[1], qq[2], qq[3], qq[4], qq[5], qq[6], qq[7], qq[8], qq[9], qq[10],
qq[11], qq[12], qq[13], qq[14], qq[15], qq[16], qq[17], qq[18], qq[19], qq[20],
qq[21], qq[22], qq[23], qq[24], qq[25], qq[26], qq[27], qq[28], qq[29], qq[30]
end
In a waypoint file I wrote;
Code: Select all
local qq={}
qq[1], qq[2], qq[3], qq[4], qq[5], qq[6], qq[7], qq[8], qq[9], qq[10],
qq[11], qq[12], qq[13], qq[14], qq[15], qq[16], qq[17], qq[18], qq[19], qq[20],
qq[21], qq[22], qq[23], qq[24], qq[25], qq[26], qq[27], qq[28], qq[29], qq[30]
=RoMScript("igf_getQuestList()")
for i=1,20 do
print(qq[i])
end
recieves its values it prints about 11 quests and nil for the rest. I even did some tests with igf_GetTooltip and it looks like it also only recieves some of the lines and the rest are nil.
Is there some sort of limitation to RoMScript or is it just not behaving the way it's supposed to?