We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
get and set variable not working, cannot set and get variable by code
To Reproduce
print(name, " test val : ",_ink_player.get_variable("test_val")) _ink_player.set_variable("test_val","test success")
result DialogueManager test val : null
it seems also related to story load so here is the code of it.
func _load_InkPlayer(): if _ink_player.is_connected("loaded",_story_loaded)==false: _ink_player.connect("loaded",_story_loaded) _ink_player.create_story()
Expected behavior
It should can set and get ink variable by code
Ink files
->hello VAR pill_type="None" VAR test_val="test fail" ===hello effect:heart test variable {test_val}
Environment:
Additional context
The text was updated successfully, but these errors were encountered:
Are you sure your story is correctly loaded before you access and set variables ? Get and set work fine on my project
Sorry, something went wrong.
No branches or pull requests
Describe the bug
get and set variable not working, cannot set and get variable by code
To Reproduce
result
DialogueManager test val : null
it seems also related to story load
so here is the code of it.
Expected behavior
It should can set and get ink variable by code
Ink files
Environment:
Additional context
The text was updated successfully, but these errors were encountered: