Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

VIDE Dialogues : Add bye script component on a NPC

Discussion in 'Assets and Asset Store' started by Shadauwa, Aug 28, 2020.

  1. Shadauwa

    Shadauwa

    Joined:
    Jan 12, 2020
    Posts:
    16
    Hello guys, i currently usign this great tool.

    But i am stuck. I can not assigned a dialogue by script when calling the componenent.
    Is there someone found how to do it, cause the Assignet Dialogue stay empty :( ?
    Of coure the dialogue Name is correctly written.

    Code (CSharp):
    1. using VIDE_Data;
    2. public class test : MonoBehaviour{
    3.     private VIDE_Assign VIDE_Assign;
    4.     void Start(){
    5.         VIDE_Assign = gameObject.AddComponent<VIDE_Assign>();
    6.         VIDE_Assign.assignedDialogue = "Bastet";
    7.         VIDE_Assign.alias = "Divine";
    8.     }
    9. }
     
    Last edited: Sep 4, 2020
  2. Shadauwa

    Shadauwa

    Joined:
    Jan 12, 2020
    Posts:
    16
    Well Finaly after a couple of hours I find how to do it working ! YES !

    I move on the dialogue folder in my main Ressources folder, outside the VIDE core system files
    and it did the trick.