Search found 3 matches
- Fri Aug 11, 2023 6:35 am
- Forum: Dialogue System for Unity
- Topic: Change Conversation Fields on Runtime
- Replies: 5
- Views: 351
Re: Change Conversation Fields on Runtime
Thank you, Tony! On a first try, it seems waiting for the initializationComplete worked ! I was getting the value on a Start() method and maybe I was getting there too soon as you said. I also double-checked and overloaded the methods where I run the Lua code so it uses the proper type (int, bool, ...
- Thu Aug 10, 2023 8:59 pm
- Forum: Dialogue System for Unity
- Topic: Change Conversation Fields on Runtime
- Replies: 5
- Views: 351
Re: Change Conversation Fields on Runtime
I assume you meant to type Conversation[ 1 ] both times above? Thanks for you answer. Yes, I meant Conversation[1] both times. As I said, I have no trouble persisting the value of CurrentStepID, and I'm not using the included Save system, I'm using my own. My problem is only setting the field value...
- Thu Aug 10, 2023 8:10 pm
- Forum: Dialogue System for Unity
- Topic: Change Conversation Fields on Runtime
- Replies: 5
- Views: 351
Change Conversation Fields on Runtime
Hi, I really need help because this is driving me crazy and I'm out of ideas. It's probably something I'm not getting at all, I'm new with Lua so maybe you can help me. Context is: I've got a Dialogue Database with a conversation that has a custom field called CurrentStepID = 0 ; there is a Start no...