Page 1 of 1

Having issues when trying to converse with NPC

Posted: Mon Dec 05, 2016 11:21 pm
by Azola21
Hey Tony,

I have had the dialogue system configured for a while but I just recently updated to the latest version of RFPS and it works well after I reconfigured a few things however when I interact with an NPC. The conversation starts however when I click on a dialogue option nothing happens, no errors come up in the console and I'm pretty sure my database is setup properly. The button indents and changes color when the mouse is over it so it is obviously working to some extent however clicking on it does literally nothing.

Any help would be fully appreciated,
Aaron


EDIT: The pause menu now does not show up when I press escape.
EDIT 2: I fixed the menu showing not up however I now cannot exit the quest menu. Pressing close does nothing, it seems I'm just having a general problem with non reactive buttons.

Re: Having issues when trying to converse with NPC

Posted: Tue Dec 06, 2016 10:41 am
by Tony Li
Hi Aaron,

Do you know if you're using Unity UI or legacy Unity GUI?

If you're using Unity UI, here are a few things to check:
  • If your canvas is world space or screen space - camera, make sure a camera is assigned to it.
  • Check for any other canvases that might be blocking input.
  • Check the EventSystem GameObject. Make sure the Submit field is set to "Fire1" (i.e., the left mouse button).
  • Inspect the EventSystem and play the scene. At runtime, the EventSystem's inspector will show what UI element is selected and what inputs are being sent to it (hover, click, etc.).
  • Check the OnClick events for buttons that aren't responding. For example, the quest log window's Close button I believe should call UnityUIQuestLogWindow.ClickCloseButton().
If that doesn't help, please feel free to send an example scene to tony (at) pixelcrushers.com and let me know what version of Unity to use.