Aaaaaargh!
I tried to access it from DialogueManager.currentConversationState, but can't figure out how it works...
Asking you AGAIN....
Search found 5 matches
- Tue Nov 03, 2020 3:49 pm
- Forum: Dialogue System for Unity
- Topic: Beginner's question about dialogue Fields and C#
- Replies: 9
- Views: 373
- Tue Nov 03, 2020 4:49 am
- Forum: Dialogue System for Unity
- Topic: Beginner's question about dialogue Fields and C#
- Replies: 9
- Views: 373
Re: Beginner's question about dialogue Fields and C#
Thank you so much for your help! I just got one more question (Yes, I know. I told you I wont). How can I grab informations from Dialogues custom fields that are pointed my a response menu. For example, if there are two choices avaiable, how can I get the "fields" field from these dialogue...
- Sun Nov 01, 2020 1:31 pm
- Forum: Dialogue System for Unity
- Topic: Beginner's question about dialogue Fields and C#
- Replies: 9
- Views: 373
Re: Beginner's question about dialogue Fields and C#
Sorry, it's me again. When I copy your code in my class: void OnConversationLine(Subtitle subtitle) // Called when the conversation gets to a dialogue entry. { string fieldValue = Field.LookupValue( subtitle.dialogueEntry , "abcdcustomfield"); Debug.Log("Current line's 'My Custom Fiel...
- Sun Nov 01, 2020 11:35 am
- Forum: Dialogue System for Unity
- Topic: Beginner's question about dialogue Fields and C#
- Replies: 9
- Views: 373
Re: Beginner's question about dialogue Fields and C#
Thank you for your quick answer! I must be really stupid but there are no such methods appearing in the Visual Studio "Smart typing tool". I declarerd the following: using Language.Lua; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using Unity...
- Sun Nov 01, 2020 5:50 am
- Forum: Dialogue System for Unity
- Topic: Beginner's question about dialogue Fields and C#
- Replies: 9
- Views: 373
Beginner's question about dialogue Fields and C#
Hello! I have a beginner's question and I don't know if I'm in the right place. I'm trying to access custom fields in the dialogue current entry from a C# script. But I can't find a method (neither from DialogueLua nor from DialogueManager) to access this information. It should be easy, but I can't ...