Member
Join Date: Oct 2019
Posts: 43
|
what is an Index and how do you use them.
|
#1 |
Senior Member
Join Date: May 2015
Posts: 830
|
Thats a really generic question, there are a number of indexes used for different purposes.
|
#2 |
Member
Join Date: Oct 2019
Posts: 43
|
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 |
#3 |
Senior Member
Join Date: May 2015
Posts: 830
|
Quote:
|
|
#4 |
Member
Join Date: Oct 2019
Posts: 43
|
Post levels 10000
|
#5 |
|
|