Firstborn/Assets/RPG Creation Kit/Scripts/ScriptsTemplates/RPGCreationKit__QuestScript...

25 lines
591 B
Plaintext
Raw Normal View History

using UnityEngine;
using RPGCreationKit;
using RPGCreationKit.Quests;
using RPGCreationKit.AI;
using RPGCreationKit.CellsSystem;
namespace RPGCreationKit.Quests
{
public class #SCRIPTNAME# : QuestScript
{
// This will start running the CustomUpdate as soon as the quest starts.
public void Start()
{
RunQuestScript();
}
// CustomUpdate runs once every (quest.questScriptExecutionDelay) seconds
public override void CustomUpdate()
{
base.CustomUpdate();
// Your code here
}
}
}