Search found 10 matches

by MeyOrMeyNot
Thu Jul 11, 2024 3:33 am
Forum: Dialogue System for Unity
Topic: Custom Savers Enemy Variables
Replies: 6
Views: 597

Re: Custom Savers Enemy Variables

Ok I got it wokring by putting the items (which are scriptable objects) into the Resources folder & so far it seems to work without a problem
Thanks for the fast help! :D
by MeyOrMeyNot
Thu Jul 11, 2024 2:58 am
Forum: Dialogue System for Unity
Topic: Custom Savers Enemy Variables
Replies: 6
Views: 597

Re: Custom Savers Enemy Variables

I added the debugs and checked and the Items get saved correctly and restored correctly as well as far as I can tell. I checked the ItemIDs and they are also the correct ones.But still the Inventory slots stay empty. However from the Debugs: Debug.Log(InventoryItem.GetFromID(slotStrings[i].itemID));...
by MeyOrMeyNot
Wed Jul 10, 2024 5:00 pm
Forum: Dialogue System for Unity
Topic: Custom Savers Enemy Variables
Replies: 6
Views: 597

Re: Custom Savers Enemy Variables

Hi, sorry for the late reply that works perfectly. But now I have another question about saving. I have an inventory and I want to save the Items inside on Save & Load. I already made a Custom saver and the Debug from PlayerPrefsSavedGameDataStorer shows the right item ID number and slot but it ...
by MeyOrMeyNot
Fri Apr 05, 2024 9:33 am
Forum: Dialogue System for Unity
Topic: Custom Savers Enemy Variables
Replies: 6
Views: 597

Custom Savers Enemy Variables

Hi, I recently started working on a turn based combat game and I want to save certain ints and bools of the enemy, I wrote a custom saver but it doesn't seem to be working. In the Battle Scene the Health and bool isDead gets set correctly in the EnemyController script but when I Load the Overworld s...
by MeyOrMeyNot
Fri Aug 05, 2022 9:45 am
Forum: Dialogue System for Unity
Topic: Override Dialogue UI in another Scene
Replies: 3
Views: 232

Re: Override Dialogue UI in another Scene

Thank you that worked perfectly!
by MeyOrMeyNot
Thu Aug 04, 2022 6:54 am
Forum: Dialogue System for Unity
Topic: Override Dialogue UI in another Scene
Replies: 3
Views: 232

Override Dialogue UI in another Scene

Hi, I have a question about using two different Dialogue UIs in two different Scenes. I have one standard Dialogue UI and one specific one for some sort of Boss Fight. Both UIs are inside the Dialogue Manager and the Override Dialogue UI Component is on a character in another Scene. But when I switc...
by MeyOrMeyNot
Mon May 16, 2022 4:53 pm
Forum: Dialogue System for Unity
Topic: Handling Relationships with different NPC's
Replies: 7
Views: 662

Re: Handling Relationships with different NPC's

Yes no problem, thank you for your super fast answers!! Can I put IncFriendship("Some NPC", 50); inside a custom Lua function so I can call it in the conversation and change the amount more flexible in the conversation? And if I have more NPC's can I simply use the wrapper and just change ...
by MeyOrMeyNot
Mon May 16, 2022 3:57 pm
Forum: Dialogue System for Unity
Topic: Handling Relationships with different NPC's
Replies: 7
Views: 662

Re: Handling Relationships with different NPC's

Thank you so much Tony!
It threw an Error in the Incfriendship because of the void and the return, i got rid of the return and it works!
by MeyOrMeyNot
Mon May 16, 2022 12:39 pm
Forum: Dialogue System for Unity
Topic: Handling Relationships with different NPC's
Replies: 7
Views: 662

Re: Handling Relationships with different NPC's

Thank your for the quick answer! I think I try using a wrapper function. Now I have another questions about that. when I make such a wrapper function do I make functions for each Relationship like this? void relationshiptest() { GetDSRelationship("NPC1", "Player","friendship...
by MeyOrMeyNot
Mon May 16, 2022 6:53 am
Forum: Dialogue System for Unity
Topic: Handling Relationships with different NPC's
Replies: 7
Views: 662

Handling Relationships with different NPC's

Hi, I have a few questions about how to handle Relationships with the Dialogue System. I've tried out [lua(GetRelationship(Actor["NPCName"], Actor["PlayerName"], "friendship"))] which works, I can Inc and Dec the relationship points for multiple relationships between th...