Problems using "Messages" to notify player of "New Quest" and "Completed Quest"
Posted: Wed Mar 06, 2024 12:40 pm
Hi!
I'm trying to use "Messages" to let the player know when a new quest is received, and when a quest is completed.
I have a "Notification Manager" component that has public methods that show a message on screen and plays a sound. Alongside that component, I have a "Message Events" component. It is set up to listen for two messages:
On the "Start" state, in its "Active" state, I have a Message action:
Many thanks!
I'm trying to use "Messages" to let the player know when a new quest is received, and when a quest is completed.
I have a "Notification Manager" component that has public methods that show a message on screen and plays a sound. Alongside that component, I have a "Message Events" component. It is set up to listen for two messages:
- Sender: Any
- Target: Any
- Message: Notification Manager
- Parameter: New Quest
- Event: <Notification Manager New Quest Method>
- Sender: Any
- Target: Any
- Message: Notification Manager
- Parameter: Quest Success
- Event: <Notification Manager Quest Succeed Method>
On the "Start" state, in its "Active" state, I have a Message action:
- Sender: Quest Giver
- Target: Any
- Message: Notification Manager
- Parameter: New Quest
- Sender: Quest Giver
- Target: Any
- Message: Notification Manager
- Parameter: Quest Success
- The "New Quest" event is triggered twice, when my character accepts the Quest.
- The "Quest Success" event is not triggered at all, when my character completes the quest.
Many thanks!