Check the completion/percentage of a conversation?
Check the completion/percentage of a conversation?
Is there a way to check how much of a conversation a player has progressed? Currently I´m counting the number of entries shown and comparing to the total amount. But its a very rough solution. TY
Re: Check the completion/percentage of a conversation?
Hi,
You can use SimStatus to track which entries have been used, which will prevent double-counts if the player loops back and repeats an entry. Then check DialogueLua.GetSimStatus() for all of the conversation's dialogue entries.
You can use SimStatus to track which entries have been used, which will prevent double-counts if the player loops back and repeats an entry. Then check DialogueLua.GetSimStatus() for all of the conversation's dialogue entries.
Re: Check the completion/percentage of a conversation?
Glad to help!
Re: Check the completion/percentage of a conversation?
It worked! Now I can estimate the progress just fine, just one more thing, how do I set sim status for my entries or reset whole conversation sim status?
Re: Check the completion/percentage of a conversation?
Hi,
If you tick the Dialogue Manager's Other Settings > Include SimStatus checkbox, the Dialogue System will automatically set SimStatus values as conversations play. Otherwise, you can use DialogueLua.GetSimStatus() and DialogueLua.MarkDialogueEntry***() methods to get and set SimStatus. To reset a conversation, loop through its dialogue entries and call DialogueLua.MarkDialogueEntryUntouched() for each.
If you tick the Dialogue Manager's Other Settings > Include SimStatus checkbox, the Dialogue System will automatically set SimStatus values as conversations play. Otherwise, you can use DialogueLua.GetSimStatus() and DialogueLua.MarkDialogueEntry***() methods to get and set SimStatus. To reset a conversation, loop through its dialogue entries and call DialogueLua.MarkDialogueEntryUntouched() for each.
Re: Check the completion/percentage of a conversation?
It was right in my face, sorry! It worked, thank you again.