Firstborn/Assets/RPG Creation Kit/Scripts/Dialogue System/Nodes/ToOrder/ChangeDialogueNode.cs
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

37 lines
877 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XNode;
using RPGCreationKit.DialogueSystem;
using RPGCreationKit;
namespace RPGCreationKit.DialogueSystem
{
[CreateNodeMenu("Dialogue System/Change Dialogue", order = 3)]
public class ChangeDialogueNode : DialogueNode
{
public DialogueGraph newDialogue;
public bool onNPCWhosSpeaking = true;
public string npcRef = "";
public bool startDialogueImmediatly = false;
// Use this for initialization
protected override void Init()
{
base.Init();
}
public override void Trigger()
{
}
// Return the correct value of an output port when requested
public override object GetValue(NodePort port)
{
return null; // Replace this
}
}
}