3D Quest objective marker?
Re: 3D Quest objective marker?
Thanks, you are llterally the best asset dev out there
Re: 3D Quest objective marker?
Glad to help!
Re: 3D Quest objective marker?
I apologize for being so noisy, but I wanted to know one more thing.
Is there a patch for the QuestStateListener class?
There are fieldsand I would really like it to be wrapped in a virtual property so I can override it
And additional question: how to make a player can only track 1 quest at time? I know there was such topic, but is it works for now?
Thank you!
Is there a patch for the QuestStateListener class?
There are fields
Code: Select all
public QuestStateIndicatorLevel[] questStateIndicatorLevels
public QuestEntryStateIndicatorLevel[] questEntryStateIndicatorLevels[0];
And additional question: how to make a player can only track 1 quest at time? I know there was such topic, but is it works for now?
Thank you!
Re: 3D Quest objective marker?
Hi,
Those two variables are public, so you can just work with them as-is.
To track one quest at a time, you can tick the StandardUIQuestLogWindow component's Track One Quest At A Time checkbox. When the player clicks a quest's Track toggle in the quest log window, it will untrack all other quests.
If you want to do more -- such as automatically untracking other quests when you toggle tracking outside of the quest log window, you can add a script to the Dialogue Manager that has OnQuestStateChange and OnQuestTrackingEnabled methods.
In OnQuestStateChange, if the quest was just turned active and tracking is enabled, turn off tracking on all other quests.
In OnQuestTrackingEnabled, turn off tracking on all other quests.
Those two variables are public, so you can just work with them as-is.
To track one quest at a time, you can tick the StandardUIQuestLogWindow component's Track One Quest At A Time checkbox. When the player clicks a quest's Track toggle in the quest log window, it will untrack all other quests.
If you want to do more -- such as automatically untracking other quests when you toggle tracking outside of the quest log window, you can add a script to the Dialogue Manager that has OnQuestStateChange and OnQuestTrackingEnabled methods.
In OnQuestStateChange, if the quest was just turned active and tracking is enabled, turn off tracking on all other quests.
In OnQuestTrackingEnabled, turn off tracking on all other quests.
Re: 3D Quest objective marker?
Hey, Tony!
Another question:
I made my own system for tracking targets during a quest, bounded to QuestStateListener
But here's the problem: let's say we took a quest and enabled its tracking. And then the quest goes to "Success" state, we complete it.
The quest tracking is not turned off with changing state, which prevents my system from turning off tracker "compass" UI. Can you tell me if this can be fixed? I need DS to disable quest tracking when changing quest state to complete, abandoned, etc.. Thanks!
Another question:
I made my own system for tracking targets during a quest, bounded to QuestStateListener
But here's the problem: let's say we took a quest and enabled its tracking. And then the quest goes to "Success" state, we complete it.
The quest tracking is not turned off with changing state, which prevents my system from turning off tracker "compass" UI. Can you tell me if this can be fixed? I need DS to disable quest tracking when changing quest state to complete, abandoned, etc.. Thanks!
Re: 3D Quest objective marker?
Hi,
You can add a script with an OnQuestStateChange() method to your Dialogue Manager GameObject. Example:
You can add a script with an OnQuestStateChange() method to your Dialogue Manager GameObject. Example:
Code: Select all
void OnQuestStateChange(string quest)
{
if (QuestLog.GetQuestState(quest) == QuestState.Success)
{
QuestLog.SetQuestTracking(quest, false);
}
}