Journal viewing - possible only Invector issue

Announcements, support questions, and discussion for Quest Machine.
Post Reply
User avatar
CamperJohn
Posts: 14
Joined: Sun Apr 05, 2020 7:01 pm
Contact:

Journal viewing - possible only Invector issue

Post by CamperJohn »

I believe I have set up the Journal button according to your tutorials. After pressing the J button, the journal will display, but because Invector is controlling the cursor, I could not 'click' on any journal entries or even the close button (presumably due to Invector).
I did add a second OnClick condition (see image) to pause the player and free up the cursor. Clicking entries in the journal now work, however, when pressing the J button to dismiss the journal, the player is still paused and the cursor is still visible. Not sure how to dismiss the journal and return the cursor to 'Invector' state (not shown) and un-pause the player??
Attachments
journal.JPG
journal.JPG (43.22 KiB) Viewed 767 times
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Journal viewing - possible only Invector issue

Post by Tony Li »

Hi,

Quest Machine includes dedicated integration packages for Invector. Import these packages:
  • Assets / Plugins / Pixel Crushers / Common / Third Party Support / Invector Support.unitypackage
  • Assets / Plugins / Pixel Crushers / Quest Machine / Third Party Support / Invector Support.unitypackage
Then look over the setup guide in Pixel Crushers / Quest Machine / Third Party Support / Invector Support. Among other things, it explains how to add a Quest Machine Pause Player component that coordinates cursor control with Invector.
User avatar
CamperJohn
Posts: 14
Joined: Sun Apr 05, 2020 7:01 pm
Contact:

Re: Journal viewing - possible only Invector issue

Post by CamperJohn »

I had done the two imports. After reviewing the document as well as going back to study the example Invector demo, I noticed the demo had the OnClick values set as shown in bottom image. However, in my project, the MessageEvents.SendMessageToSystem is not an available selection (top image). ??
Attachments
choices.jpg
choices.jpg (91.87 KiB) Viewed 760 times
message1.JPG
message1.JPG (81.88 KiB) Viewed 760 times
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Journal viewing - possible only Invector issue

Post by Tony Li »

Hi,

I'm not sure why the MessageEvents component is missing, but it's easily remedied. Open the Invector integration example scene, inspect Quest Dialogue UI, right-click the Message Events (Script) heading, and select Copy Component. Then open your own scene, inspect the Quest Dialogue UI, right-click on any component's heading, and select Paste Component As New. You can paste the same thing onto the Quest Journal UI, too. Then you should be able to hook up the OnOpen() and OnClose() events.
User avatar
CamperJohn
Posts: 14
Joined: Sun Apr 05, 2020 7:01 pm
Contact:

Re: Journal viewing - possible only Invector issue

Post by CamperJohn »

OK, I am officially a bone head now. I started to perform the steps you suggested and while scrolling down within the demo scene, I noticed the Message Event script. Duh....went to my scene, and sure enough, it was missing...gezzzzz. Oh well, added the component, filled in the fields, and bingo, it works as designed. Sorry for pulling you away from more important requests....as always, thanks so much for your fast and clear reply's.
Attachments
message1a.JPG
message1a.JPG (58.21 KiB) Viewed 758 times
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Journal viewing - possible only Invector issue

Post by Tony Li »

No problem! Glad to help.
Post Reply