solarus-games / solarus

This repository was moved to GitLab: https://gitlab.com/solarus-games/solarus
http://www.solarus-games.org
Other
712 stars 133 forks source link

Interaction with NPC should be prioritary to swimming action #1043

Open Renkineko opened 7 years ago

Renkineko commented 7 years ago

When you put a NPC in the deep water, and you then go to talk to him, the action touch do the "swim" action, not the "talk" action.

Maybe there is other actions that are prioritary against others and where it is not logical.

Workaround: use custom entity.

Diarandor commented 7 years ago

I had a similar issue with the witch NPC that I made, the one that appears in the sample quest. The chair under the NPC is a custom entity, and if you try to talk with her while facing from down (the hero has "up" direction), then the dialog is not started because the "interaction" with the chair (which is not defined) has priority.