Thread: Indexs
View Single Post
Darius Darksoul
Member
 
Join Date: Oct 2019
Posts: 43

Old August 16th, 2020, 09:31 PM
Attempt to access field 'xIndex' that does not exist for thing 'ioMagusglovesGR'
Location: 'eval' script for Thing 'ioMagusglovesGR' (Eval Script '#2') near line 4
- - -
Attempt to access field 'xIndex' that does not exist for thing 'ioMagusglovesGR'
Location: 'eval' script for Thing 'ioMagusglovesGR' (Eval Script '#2') near line 11
- - -
Attempt to access field 'xIndex' that does not exist for thing 'ioMagusglovesGR'
Location: 'eval' script for Thing 'ioMagusglovesGR' (Eval Script '#2') near line 17
- - -
Attempt to access field 'xIndex' that does not exist for thing 'ioMagusglovesGR'
Location: 'eval' script for Thing 'ioMagusglovesGR' (Eval Script '#2') near line 23
- - -
Attempt to access field 'abSumm' that does not exist for thing 'ioMagusglovesGR'
Location: 'eval' script for Thing 'ioMagusglovesGR' (Eval Script '#5') near line 6


This seems to be causing the problem.

~ set listname depending on # of times taken and if we have
~ taken mythic version

if (field[xIndex].value >= 4) then
if (hero.tagis[LGMyAbil.TrueMagus] = 0) then
field[listname].text = "True Magus"
else
field[listname].text = "True Magus [Mythic]"
endif
elseif (field[xIndex].value = 3) then
if (hero.tagis[LGMyAbil.GreSplComb] = 0) then
field[listname].text = "Greater Spell Combat"
else
field[listname].text = "Greater Spell Combat [Mythic]"
endif
elseif (field[xIndex].value = 2) then
if (hero.tagis[LGMyAbil.ImpSplComb] = 0) then
field[listname].text = "Improved Spell Combat"
else
field[listname].text = "Improved Spell Combat [Mythic]"
endif
elseif (field[xIndex].value = 1) then
if (hero.tagis[LGMyAbil.SplComb] = 0) then
field[listname].text = "Spell Combat"
else
field[listname].text = "Spell Combat [Mythic]"
endif
endif
Darius Darksoul is offline   #3 Reply With Quote