Hi there,
Because of some difficulties doing this with the dialogue system, I want to make a script for certain objects that will call for an gameobject to be enabled if a certain quest is active. What function would I need to call?
Calling a quest in a script
Re: Calling a quest in a script
Use the QuestLog class:
Code: Select all
using PixelCrushers.DialogueSystem;
if (QuestLog.IsQuestActive("questName")) {
// enable your GameObject.
}