25 lines
591 B
Plaintext
25 lines
591 B
Plaintext
|
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
|
||
|
}
|
||
|
}
|
||
|
}
|