GithubHelp home page GithubHelp logo

Comments (1)

godofgrunts avatar godofgrunts commented on August 14, 2024

Located the bug in PawnInteractive.gd.

if event.is_action_pressed("ui_accept") and dialogue_balloon.visible: triggers every time you press ui_accept (but only for keyboard inputs, not clicks).

Adding set_process_unhandled_input(false) at the end of the if statement fixes it, but it doesn't allow you to interact with the map event again which probably isn't the desired outcome.

What is weird is that the process is checking for dialogue_balloon.visible but it isn't visible as far as I can see so it should fail.

EDIT:

I'm wrong on that. The dialogue_balloon and the quest_bubble are not the same thing.

EDIT 2:

Okay I'm getting closer. In the start_interaction() function we have the for action in actions loop.

When it does the StartCombat action it never exits back to the start_interaction() for some reason.

EDIT 3:

Okay, I think I tracked it down to when the local_map gets removed before a battle starts. When it gets readded, the yield function is no longer waiting to be processed.

That's not directly tied to this problem, but it is causing a bug when I tried to handle the start_interaction() with a state.

I think I'm done trying to figure this out though.

from godot-open-rpg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.