Actor Field variable not updating in active conversation
Posted: Wed Jun 29, 2022 3:13 pm
Hi Tony,
moving discussion from Discord. I have updated the DS to 2.2.28, Unity LTS 2021.3.1f1, the issue is still present.
Summary:
Variables in Conversant Actor Field are not updating in active conversation
Thank you!
moving discussion from Discord. I have updated the DS to 2.2.28, Unity LTS 2021.3.1f1, the issue is still present.
Summary:
Variables in Conversant Actor Field are not updating in active conversation
- Custom C# OnConversationStart() script calculates new Health value and set it back via
Code: Select all
DialogueLua.SetActorField(conversantName, "Health", newHealth); //debug DialogueLua.SetActorField("Actor", "Health", 2);
- in Watches i can see that the Actor["Actor"].Health has correct newHealth value
- Conversant Actor Field Health is not updating in active conversation (still has the old value, which I need to update for other conditions in that conversation)
Thank you!