Saved story with conditional choice based on external function
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 540
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
I have an Ink story running in Unity, using an external function for a conditional choice, something like
+ {CheckHello()} Hello there!
If CheckHello() is false, then that choice isn't available, as it should be. However, if I save the state of the story, and then load the state when CheckHello() is true, the choice is still not available.
Calling ResetState() on the story after loading will present the choice correctly, but obviously has a lot of other effects as well.
Am I missing something that I should be able to do here? Have I set up something incorrectly? The external function is being bound before the load, moving it to afterwards has no effect.
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.