Hi, how do we prevent a quest from ever being offer-able? There's quest that I want to give to a player via dialogue, and I don't want the quest indicator to ever show for it.
A hack solution I found was to add a 'Parents: All True' offer condition to the quest asset, but I don't feel right using it.
Preventing quest from being offer-able indefinitely
Re: Preventing quest from being offer-able indefinitely
Hi,
Try setting the quest's state to Disabled.
Alternatively, you could write a very simple custom quest condition that just always returns false.
Try setting the quest's state to Disabled.
Alternatively, you could write a very simple custom quest condition that just always returns false.
Re: Preventing quest from being offer-able indefinitely
Hi Tony,
Setting the quest to disabled does exactly what I want, thank you!
One more quick question. How do we utilize QuestIndicatorState.Interact and QuestIndicatorState.Talk?
Setting the quest to disabled does exactly what I want, thank you!
One more quick question. How do we utilize QuestIndicatorState.Interact and QuestIndicatorState.Talk?
Re: Preventing quest from being offer-able indefinitely
Set them manually using the Set Indicator quest action in a quest's Actions list, or by calling the QuestIndicatorManager's SetIndicatorState() method in C#.
The quest giver's QuestIndicatorManager has two dropdowns:
- Has Quest To Offer State
- Has Quest But Cannot Offer State
Re: Preventing quest from being offer-able indefinitely
Perfectly explained, thanks again Tony!
Re: Preventing quest from being offer-able indefinitely
Glad to help!