Issue with setting conversation in c#
Posted: Thu Aug 17, 2017 6:29 am
Hi, I've come across a small issue when setting a conversation in c# for an NPC. I'm using something like:
NPC.GetComponent<ConversationTrigger>().conversation = "Example/Conversation";
This results in a "Conversation not found in database" warning. However, if I set it to a conversation not in a subfolder, e.g. just "Conversation", it works fine. So basically it's not currently working for any conversation I have in a sub folder. I have a feeling I'm missing something obvious, but coffee isn't helping my brain figure it out. Any help would be appreciated!
NPC.GetComponent<ConversationTrigger>().conversation = "Example/Conversation";
This results in a "Conversation not found in database" warning. However, if I set it to a conversation not in a subfolder, e.g. just "Conversation", it works fine. So basically it's not currently working for any conversation I have in a sub folder. I have a feeling I'm missing something obvious, but coffee isn't helping my brain figure it out. Any help would be appreciated!