Easy NPC

Easy NPC

2M Downloads

[Feature Request] How do i close dialog after button click ?

remanam opened this issue ยท 5 comments

commented

For example i clicked "Yes" on a dialog and i want it to be closed.

What should i type in dialog actions ?

commented

I have simple dialog with "yes" Button.

When I click yes server execute command and player teleports. After player teleports its still have dialog open and can click "yes" Button again. I want it to be closed after I clicked yes

commented

Could you please clarify your exact use-case.

If the button has no "action" at all, it will close automatically.
See: https://github.com/MarkusBordihn/BOs-Easy-NPC/wiki/Dialogs#close-dialog-

If the button has other "actions" as well, this is something I probably need to add as new feature.

commented

So there is a way to do it or it's a feature request ?

commented

May be you lost my question?

commented

This is implemented as additional action type like:

image