unfortunately I have a problem with the implementation of quest machine.
The initial situation is:
- I have added the quest machine component to my scene
- created an empty component in the scene and gave it the QuestJournal script
- created a save system component in the quest machine component
All components with the following settings:
Process flow:
- i start a quest from my c# script
Code: Select all
PixelCrushers.MessageSystem.SendMessage(gameObject, questData[0], questData[1], questData[2]);
- but when I open the quest journal UI my quest is not entered
I open the journal with this line of code:
Code: Select all
private void Start()
{
GameObject questController = GameControllerUtils.FindGameObjectByName(controllerSpace, "QuestController");
questJournal = questController.GetComponent<QuestJournal>();
}
public void Click1()
{
questJournal.ToggleJournalUI();
}
I've been sitting on this problem for a few days now without finding out why my quest is not entered in the quest journal UI, did I miss something?