Dialogic 2.0: Condition event and folding (and more) #921
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Condition event
Adds a new condition event. Conditions can be anything the Expression class can parse INCLUDING methods. Currently you can not use variables oc and there is only a text input.
Conditions should work as expected in game, but I could be wrong.
Event folding
The condition and choice event can now be folded. The hiding logic is done in
TimelineEditor.indent_events()
. More info in the commit.Fixed the undo command a bit
You can now delete and undo the deletion again. Duplication, copy/paste/cut are on the todo list.
Other stuff