[Question] Break execution to not call all methods when Continue is called.
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 540
- PR merge metrics
- No merged PRs in 30d
Description
So I'm wanting to try to use Ink for a part of my game where there will be dialogue in a visual novel type context.
For this I imagine most of my code will be very declarative.
```
EXTERNAL SetCharacterName(x)
-> start
=== start ===
{SetCharacterName("Chase")}
Hello, Jeremy!
//I'd like to put a pause here until I call Continue again
{SetCharacterName("Jeremy")}
Hello, Chase!
->END
```
Ink wants to parse all this at once. Is there a way to essentially tell Ink to break? Super new, but I'm looking through the tutorial and am unsure how to tell Ink to not call both SetCharacterName immediately upon reaching start.
Edit: Seems the way this is supposed to be done is tags. I still think it might be nicer to have a declarative way to pause moving forward. It would give users a more powerful way to declare things for playing stuff like animations and such. You could hook-up whatever functions you wanted. Tags also are not nearly as flexible.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.