Search found 112 matches
- Tue Apr 05, 2022 5:30 am
- Forum: Dialogue System for Unity
- Topic: simstatus condition in script setting
- Replies: 6
- Views: 1833
simstatus condition in script setting
Hi Tony, In each dialogue entry, I'm using the script area to set variables, something like Variable["relationship"] += 1; My issue is that I don't want this dialogue entry to += 1 everytime, instead, it should +=1 only once. My idea is to use simstatus to conditioning the scritp, what is ...
- Mon Apr 04, 2022 11:41 am
- Forum: Dialogue System for Unity
- Topic: GotoState() question
- Replies: 5
- Views: 1844
Re: GotoState() question
DialogueManager.currentConversationState.pcResponses[0].formattedText.forceAuto = true;
this seems the one that can force a pc response to play regardless if there are any other pc responses, I will give it a try, tks Tony, great support ever!
this seems the one that can force a pc response to play regardless if there are any other pc responses, I will give it a try, tks Tony, great support ever!
- Mon Apr 04, 2022 3:00 am
- Forum: Dialogue System for Unity
- Topic: GotoState() question
- Replies: 5
- Views: 1844
Re: GotoState() question
tks for the explaining, My understanding is that OnFinishedSubtitle() only works on npcResponses? let's say I want to pick the next response randomly disregard it's from NPC or PC, and if it's from PC, assume there are no other conditions are set here is my script: private void OnConversationLine(Su...
- Sun Apr 03, 2022 6:23 am
- Forum: Dialogue System for Unity
- Topic: GotoState() question
- Replies: 5
- Views: 1844
GotoState() question
Hi Tony, I have some scripts in private void OnConversationLineEnd(Subtitle subtitle) { DialogueEntry nextEntry = DialogueManager.MasterDatabase.GetDialogueEntry(subtitle.dialogueEntry.outgoingLinks[0]); ConversationState nextResponseState = DialogueManager.conversationModel.GetState(nextEntry); Dia...
- Mon Mar 28, 2022 1:41 am
- Forum: Dialogue System for Unity
- Topic: set bark duration from code
- Replies: 1
- Views: 575
set bark duration from code
Hi Tony, I'm trying to achieve something like this When my player is speaking or listening, some icon will popup above its head, I think a bark UI can perfectly fits in such situation. But since the bark UI has a fixed duration, how do I set its duration dynamically from script based on every dialog...
- Sun Mar 20, 2022 2:50 am
- Forum: Dialogue System for Unity
- Topic: Create variables from script
- Replies: 17
- Views: 7501
Re: Create variables from script
just courious that if this is possible in runtime, tks for your ideas, again, very helpful 

- Sat Mar 19, 2022 9:37 am
- Forum: Dialogue System for Unity
- Topic: Create variables from script
- Replies: 17
- Views: 7501
Re: Create variables from script
Hi Tony, for instance, I'm loopiing the master database in runtime and getting all the dialogue conversation and dialogue entries. I need to set some dialogue entry's userScript and conditions string. I have no problem to set it from looping actual database, but not in masterDatabase, because it is ...
- Fri Mar 18, 2022 3:18 am
- Forum: Dialogue System for Unity
- Topic: Create variables from script
- Replies: 17
- Views: 7501
Re: Create variables from script
understood, tks tony
- Thu Mar 17, 2022 7:23 am
- Forum: Dialogue System for Unity
- Topic: About using save data in dialogue system
- Replies: 1
- Views: 419
About using save data in dialogue system
Hi Tony, our game is a narrative game that doesn't involves complicate data (at least for now). So I'm thinking to use the PersistentDataManager.GetSaveData() and ApplySaveData() to save variables, I'm wondering what is the best way to achieve this. My thoughts, I add a static Item in dialogue edito...
- Thu Mar 17, 2022 6:45 am
- Forum: Dialogue System for Unity
- Topic: Create variables from script
- Replies: 17
- Views: 7501
Re: Create variables from script
hi Tony, last question regards this post TemplateTools adds variable perfectly However, when using DialogueLua.SetVariable(), I'm able to add variables to the database and able to retrieve it with GetVariable() in runtime. The problem is that I can't get them to saved to the dialogue editor (variabl...