zarqon
Well-known member
I would like to access all the quest steps in questslog.txt for a script I'm working on. I tried:
Thinking that would give me the property name as the index, and all the other fields (complete with tabs) as the remaining string. I seem to recall a time when that used to work. Then I could just do a split_string(qs[<property>],"\t") to get all my quest steps in a row, no matter how many there are.
Unfortunately, this only gives me the first string (in this case, the quest title) -- nothing after the first tab.
There are some quests with upwards of 30 steps. What sort of map can I use to read the questslog.txt file without losing steps?
Code:
string[string] qs;
file_to_map("questslog.txt",qs);
Thinking that would give me the property name as the index, and all the other fields (complete with tabs) as the remaining string. I seem to recall a time when that used to work. Then I could just do a split_string(qs[<property>],"\t") to get all my quest steps in a row, no matter how many there are.
Unfortunately, this only gives me the first string (in this case, the quest title) -- nothing after the first tab.
There are some quests with upwards of 30 steps. What sort of map can I use to read the questslog.txt file without losing steps?
Last edited: