Page 1 of 1
Check the completion/percentage of a conversation?
Posted: Fri Apr 11, 2025 8:00 am
by dunathan
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?
Posted: Fri Apr 11, 2025 8:07 am
by Tony Li
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.
Re: Check the completion/percentage of a conversation?
Posted: Fri Apr 11, 2025 8:41 am
by dunathan
Awesome, TY
Re: Check the completion/percentage of a conversation?
Posted: Fri Apr 11, 2025 9:54 am
by Tony Li
Glad to help!
Re: Check the completion/percentage of a conversation?
Posted: Sat Apr 12, 2025 5:36 pm
by dunathan
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?
Posted: Sat Apr 12, 2025 11:05 pm
by Tony Li
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.
Re: Check the completion/percentage of a conversation?
Posted: Sun Apr 13, 2025 8:58 am
by dunathan
It was right in my face, sorry! It worked, thank you again.