Skip to content
New issue

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

Jump not working on character lines #599

Open
m-radzikowski opened this issue Jun 22, 2024 · 0 comments
Open

Jump not working on character lines #599

m-radzikowski opened this issue Jun 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@m-radzikowski
Copy link

Describe the bug

The => target directive does not work on lines with character names. Despite that, it's highlighted in IDE.

Affected version

  • Dialogue Manager version: 2.39.1
  • Godot version: 4.2.2

To Reproduce

~ start

Nathan: Hello => jump_point_2

~ jump_point_1

Nathan: We are at jump point 1.

=> END

~ jump_point_2

Nathan: We are at jump point 2.

=> END

Expected behavior

After "Hello" should show "Hello" and then "We are at jump point 2."
Instead, shows "Hello => jump_point_2" and then "We are at jump point 1.".

This does not happen on "responses". For example, this works as expected:

Nathan: Hello
- Hello! => jump_point_2

The solution is to move the jump to the next line:

Nathan: Hello
=> jump_point_2

but the fact that the IDE highlights the jump on the end of character line is confusing and makes it error-prone.

Screenshots

image

@m-radzikowski m-radzikowski added the bug Something isn't working label Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants