jackmakesthings / game-dev

return False; an experiment in AI and decision-making, via Godot Engine
GNU General Public License v2.0
3 stars 2 forks source link

refine how NPCs decide whether or not to talk to the player #89

Closed jackmakesthings closed 8 years ago

jackmakesthings commented 8 years ago

Right now the issue is that if you click an NPC, then click somewhere else that's still near that NPC, the conversation will still launch.

Possible solution: add some logic in the unhandled_input handler on _Environment to cancel out any pending conversations.