Search found 17 matches

by baxta86
Thu Jan 27, 2022 10:08 pm
Forum: Dialogue System for Unity
Topic: Calling the scene from my saved file
Replies: 3
Views: 222

Re: Calling the scene from my saved file

Perfect! As always, thank you for your help :)
by baxta86
Thu Jan 27, 2022 3:28 am
Forum: Dialogue System for Unity
Topic: Calling the scene from my saved file
Replies: 3
Views: 222

Calling the scene from my saved file

Hi Tony, Wondering how i can call the scene which is in my saved file? Looking through the docs, I found this under SavedGameData: String PixelCrushers.SavedGameData.sceneName How can I go about calling it, or assign it to a variable, if I were loading a scene in a custom script? As in, something li...
by baxta86
Tue Jan 25, 2022 8:42 pm
Forum: Dialogue System for Unity
Topic: Saving a bool state from a custom script
Replies: 11
Views: 829

Re: Saving a bool state from a custom script

Oh my, what a rookie mistake (and how embarrassing). That was it.

I forgot I had a script which un-enabled all the scripts under the player, when the game is paused (when I click the button). Sorry mate, working fine now. :)
by baxta86
Tue Jan 25, 2022 8:20 pm
Forum: Dialogue System for Unity
Topic: Saving a bool state from a custom script
Replies: 11
Views: 829

Re: Saving a bool state from a custom script

Still no luck after changing the key. When i save through the Demo Menu, it picks up the key into slot 1 - if i save through the button which is pointing to slot 2, no player position data still. I'm thinking i must have some code in my scene that's setting the player back to its starting position. ...
by baxta86
Tue Jan 25, 2022 8:15 pm
Forum: Dialogue System for Unity
Topic: Saving a bool state from a custom script
Replies: 11
Views: 829

Re: Saving a bool state from a custom script

I've cleared all the saves to be safe . I have tried saving to both slot 1 and 2, but neither are recording the player position. When I look at the saved data from the show button, I can see it saves everything but the player position. I'm not using a unique key either. SAVING FROM DEMO MENU Save1: ...
by baxta86
Tue Jan 25, 2022 7:33 pm
Forum: Dialogue System for Unity
Topic: Saving a bool state from a custom script
Replies: 11
Views: 829

Re: Saving a bool state from a custom script

Although that all works perfectly, again thank you! I have stumbled on another minor issue. If I assign a Save System Method to one of my buttons and then assign the SaveSystemMethods.SaveSlot to the OnClick(), the game data saves, however the data from the PositionSaver on my player gameObject does...
by baxta86
Tue Jan 25, 2022 6:22 am
Forum: Dialogue System for Unity
Topic: Saving a bool state from a custom script
Replies: 11
Views: 829

Saving a bool state from a custom script

Hi Tony,

Curious to know if there is a way in which I can save a bool state (or an int, which holds the players health) from one of my custom scripts, using the in-built saver?

Cheers
by baxta86
Thu Jan 06, 2022 5:09 pm
Forum: Dialogue System for Unity
Topic: Not re-selecting first response button after pause
Replies: 7
Views: 804

Re: Not re-selecting first response button after pause

Amazing! This works perfectly now :) I did have to write a little script for On Open() in my UI to make it selected the first button when the conversations starts again (i have an option to close the dialogue and re-open the conversation again), but now when I pause and un-pause, it re-selects which...
by baxta86
Thu Jan 06, 2022 4:37 pm
Forum: Dialogue System for Unity
Topic: Not re-selecting first response button after pause
Replies: 7
Views: 804

Re: Not re-selecting first response button after pause

Thanks Tony,

Sorry if this is a silly question, but where should i place the patch in my project? In the actual Project folder? the ProjectSettings folder? Or within the Pixel Crushers folder?

Cheers