I Have been trying now for a very long time to create a system that loads information from a .txt file (called "Dwarf.txt" in the example) and adds it into a Hash table.
How
The .txt file is made so that each line represents a value, ex:
Race
Dwarf
Agility
100
Strength
105
Intelligence
100
Charisma
90
and so on...
I have successfully added all even line number values to 1 ListBox object, and all Odd line number values to another ListBox object. This has created 2 lists, one with the name of the attribute, and one with the value of that number (so to speak).
I Now Play a loop 27 times,
Each Time the loop plays, I
Insert a key equal to ListBox1's Line Text on the Line equal to LoopIndex. That Key is given the value of ListBox2's Line Text on the Line equal to Loopindex.
Now I don't find anything wrong with the events/actions, and keys are added as I said.
<font color=red>THE PROBLEM</font>] is that the keys are all messed up. Several keys may be OK, but some of them are really strange, named after all sort of code and other keys...
I Included a .cap and a .txt object for testing. Its .Zip
yourfilelink.com/get.php