Search found 46 matches
- Fri Apr 25, 2025 5:38 am
- Forum: Dialogue System for Unity
- Topic: QuestStateListeners does not update when loading Dialogue Database
- Replies: 2
- Views: 382
Re: QuestStateListeners does not update when loading Dialogue Database
UPD: I double-checked the Dispatcher code, and it causes all listeners to update when SaveSystem.OnSaveDataApplied . However, neither when using PersistentDataManager , nor when adding a SaveSystem and calling LoadFromSlot()/ApplySavedGameData() - the OnSaveDataApplied event is not raised, which mea...
- Fri Apr 25, 2025 4:24 am
- Forum: Dialogue System for Unity
- Topic: QuestStateListeners does not update when loading Dialogue Database
- Replies: 2
- Views: 382
QuestStateListeners does not update when loading Dialogue Database
Hey, Tony! In my project I use QuestStateListener and QuestStateDispatcher (actually derived components from them, but it doesn't matter) I also use saving and loading the Dialogue Database via PersistentDataManager.ApplySaveData/GetSaveData and passing to a third party API to store string represent...
- Tue Jul 23, 2024 6:02 pm
- Forum: Dialogue System for Unity
- Topic: How to get reference to actor GO from dialogue in custom lua function?
- Replies: 3
- Views: 836
Re: How to get reference to actor GO from dialogue in custom lua function?
Hey! Thanks for reply! I figured out another way, i don't know about pifalls, but it seems like it is working private bool InventoryContainsItem(string actorName, double itemId, double amount) // Condition { Transform character = PixelCrushers.DialogueSystem.CharacterInfo.GetRegisteredActorTransform...
- Tue Jul 23, 2024 2:51 am
- Forum: Dialogue System for Unity
- Topic: How to get reference to actor GO from dialogue in custom lua function?
- Replies: 3
- Views: 836
How to get reference to actor GO from dialogue in custom lua function?
Hey Tony and everybody! I have my own inventory system, and i wish to check for some items during conversations. So i implemented and register Custom Lua Functions. But there is 1 problem: i wish i can get a reference to actor gameobject or any component, so i could actorGO.GetComponent<IHaveInvento...
- Sat Nov 11, 2023 4:46 am
- Forum: Dialogue System for Unity
- Topic: 3D Quest objective marker?
- Replies: 15
- Views: 5642
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 ...
- Mon Oct 30, 2023 4:12 am
- Forum: Dialogue System for Unity
- Topic: 3D Quest objective marker?
- Replies: 15
- Views: 5642
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 fields public QuestStateIndicatorLevel[] questStateIndicatorLevels public QuestEntryStateIndicatorLevel[] questEntryStateIndicatorLevels[0]; and I would really like it to...
- Sun Oct 29, 2023 1:16 pm
- Forum: Dialogue System for Unity
- Topic: 3D Quest objective marker?
- Replies: 15
- Views: 5642
Re: 3D Quest objective marker?
Thanks, you are llterally the best asset dev out there
- Sun Oct 29, 2023 11:16 am
- Forum: Dialogue System for Unity
- Topic: 3D Quest objective marker?
- Replies: 15
- Views: 5642
Re: 3D Quest objective marker?
As far as I understand OnQuestStateChange() is not called when we start / stop tracking a quest. This is the responsibility of OnQuestTrackingEnabled() method The only solution I can see is to modify the QuestStateDispatcher component and add the OnQuestTrackingEnabled/Disabled() method there, and a...
- Sat Oct 28, 2023 11:00 am
- Forum: Dialogue System for Unity
- Topic: 3D Quest objective marker?
- Replies: 15
- Views: 5642
Re: 3D Quest objective marker?
I have one more question :) I need to draw mark on map when player starts tracking some quest. I know about OnQuestTrackingEnabled(string questTitle) However, I don't want to write additional managers and I decided to extend your QuestStateListener by deriving Since it is connected to QuestDispatche...
- Fri Oct 27, 2023 9:45 am
- Forum: Dialogue System for Unity
- Topic: 3D Quest objective marker?
- Replies: 15
- Views: 5642
Re: 3D Quest objective marker?
I have question about quest manager - is it some event in Dialogue System telling listeners that any quest change its state?
Like watcher pattern with quests state
Like watcher pattern with quests state