On Quest State change (String)
Posted: Sat Nov 18, 2023 2:47 am
Hi,
I implemented my own "UI Quest" in which all quests are on a vertical layout group. I managed to get the quest info from the QuestLog class. But now, I want to add a new Quest to the list when it is assigned from the dialogues(it is already implemented), so I'm trying to read from my script when a Quest has changed state to "active". I tried using the "Event system component" to call my function with the "On Quest State Change (string) ". But I can't manage to get the "string" from the Quest Event. When the Quest is active, it calls my function but without the string.
How can I read the "quest string" from the quest that has changed its state?
Thanks in advance for the attention!
I implemented my own "UI Quest" in which all quests are on a vertical layout group. I managed to get the quest info from the QuestLog class. But now, I want to add a new Quest to the list when it is assigned from the dialogues(it is already implemented), so I'm trying to read from my script when a Quest has changed state to "active". I tried using the "Event system component" to call my function with the "On Quest State Change (string) ". But I can't manage to get the "string" from the Quest Event. When the Quest is active, it calls my function but without the string.
How can I read the "quest string" from the quest that has changed its state?
Thanks in advance for the attention!