Response Statistics
Posted: Tue Feb 22, 2022 12:34 pm
Hi,
I would like to record some statistics about the responses that the player selects. I was wondering what the best way might be to do this.
Here is my logic:
1. Before the game scene starts, search all the conversations in the given database for all questions that the player will be asked throughout the game. I need to know how many total questions there are so I can calculate percentages.
2. Not all player questions will be scorable, so I need to find a way to tag a question/response that needs to be included in the statistics.
3. As the player gives a response, record that data (probably to a scriptable object).
The main issue is that I do not know how to search through conversations to check for scorable questions.
I would like to record some statistics about the responses that the player selects. I was wondering what the best way might be to do this.
Here is my logic:
1. Before the game scene starts, search all the conversations in the given database for all questions that the player will be asked throughout the game. I need to know how many total questions there are so I can calculate percentages.
2. Not all player questions will be scorable, so I need to find a way to tag a question/response that needs to be included in the statistics.
3. As the player gives a response, record that data (probably to a scriptable object).
The main issue is that I do not know how to search through conversations to check for scorable questions.