ORK integration

Announcements, support questions, and discussion for Quest Machine.
Post Reply
dlevel
Posts: 168
Joined: Wed Nov 16, 2016 6:17 pm

Re: ORK integration

Post by dlevel »

very fast reply again! thanks
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: ORK integration

Post by Tony Li »

Glad to help!
dlevel
Posts: 168
Joined: Wed Nov 16, 2016 6:17 pm

Re: ORK integration

Post by dlevel »

Hey :)

So, ORK 2.2.1 now and after importing latest version of Quest Machine I get these errors:

Assets/Pixel Crushers/Quest Machine/Third Party Support/ORK Framework Support/Scripts/ORK Steps/UI/SetHUDStep.cs(25,41): error CS1061: Type `ORKFramework.MenuHandler' does not contain a definition for `CloseAll' and no extension method `CloseAll' of type `ORKFramework.MenuHandler' could be found. Are you missing an assembly reference?


Assets/Pixel Crushers/Quest Machine/Third Party Support/ORK Framework Support/Scripts/ORK Steps/UI/ShowJournalStep.cs(28,45): error CS1061: Type `ORKFramework.MenuHandler' does not contain a definition for `CloseAll' and no extension method `CloseAll' of type `ORKFramework.MenuHandler' could be found. Are you missing an assembly reference?


thank you:)
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: ORK integration

Post by Tony Li »

Hi,

The Quest Machine Extras page has an updated integration package.

If a third party asset ever breaks the integration due to an update, check the Extras page for an updated integration package. I try to keep the integrations current.
dlevel
Posts: 168
Joined: Wed Nov 16, 2016 6:17 pm

Re: ORK integration

Post by dlevel »

awesome! thank you!
dlevel
Posts: 168
Joined: Wed Nov 16, 2016 6:17 pm

Re: ORK integration

Post by dlevel »

So I have only 1 problem rn, I open the demo scene and when I'm trying to open the Quest Journal from the Menu it doesn't open, not even the UI empty or anything. I went and enable it by the editor to test it, but then even with the gameobject enabled, no UI is shown. Any idea what would be the cause?
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: ORK integration

Post by Tony Li »

Hi,

The ORK developer changed the tutorial resources. I'll need to update the demo scenes. Even though the latest tutorial resources don't work with the demo scene, the event step still works if you set it up in your own project:

Use the ORK event step Quest Machine > UI > Set Journal UI. The mode dropdown specifies whether the step should show, hide, or toggle the UI.

Make sure your start scene (e.g., "0 Main Menu") has an instance of the Quest Machine prefab.
dlevel
Posts: 168
Joined: Wed Nov 16, 2016 6:17 pm

Re: ORK integration

Post by dlevel »

Still doesn't work, tried to my project to. It doesn't work even when I enable the Journal UI my self in runtime (while it shows the UI in editor mode). Everything else works (like the HUD UI)
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: ORK integration

Post by Tony Li »

The Journal UI plays show and hide animations. It's not enough to activate the GameObject. The player's Quest Journal For ORK component needs to tell it to open. Does your player have a Quest Journal For ORK component?

Does the journal appear properly in Quest Machine's main Demo scene work? (Not the ORK example, but the scene in Plugins/Pixel Crushers/Quest Machine/Demo.)
dlevel
Posts: 168
Joined: Wed Nov 16, 2016 6:17 pm

Re: ORK integration

Post by dlevel »

you are correct, in my scene it worked fine when called the toggle event! thanks once again.
Post Reply