Display old dialogueEntry
Posted: Tue May 23, 2017 12:07 pm
Hello,
I am working on a message system (like Facebook or SMS, similar with the Mr. Robot Game) in my mobile game.
I found the "RememberCurrentDialogueEntry" script thanks to this forum and it is perfect for resuming a conversation. But now, I need to display every old messages of a conversation. In the API, I found functions like "MarkDialogueEntryUntouched" etc.. So I was wondering if DialogueSystem already has its own way to know what dialogueEntry was used, maybe with the right order and even a list of it ? I know that I can do it by making my own list, but if it already exist, it would be better to use it !
If it doesn't, what would be better :
Use the DialogueLua just like "RememberCurrentDialogueEntry" and add a list in it every ConversationLine like : DialogueLua.SetVariable("ListEntryIdOfXConv", myList);
Or use PlayerPrefs with my own XML Serialized class ?
Thank you !
I am working on a message system (like Facebook or SMS, similar with the Mr. Robot Game) in my mobile game.
I found the "RememberCurrentDialogueEntry" script thanks to this forum and it is perfect for resuming a conversation. But now, I need to display every old messages of a conversation. In the API, I found functions like "MarkDialogueEntryUntouched" etc.. So I was wondering if DialogueSystem already has its own way to know what dialogueEntry was used, maybe with the right order and even a list of it ? I know that I can do it by making my own list, but if it already exist, it would be better to use it !
If it doesn't, what would be better :
Use the DialogueLua just like "RememberCurrentDialogueEntry" and add a list in it every ConversationLine like : DialogueLua.SetVariable("ListEntryIdOfXConv", myList);
Or use PlayerPrefs with my own XML Serialized class ?
Thank you !