How to stop player movement input when displaying Quest and Journal UI

Announcements, support questions, and discussion for Quest Machine.
Post Reply
Jbacal
Posts: 19
Joined: Sun Jan 24, 2021 9:38 pm

How to stop player movement input when displaying Quest and Journal UI

Post by Jbacal »

How do I stop the player movement input when displaying the Quest and Journal UI? This was possible with the Dialogue System using the conversing state. Is there something similar with the Quest Machine? What would you recommend?


Thanks,
Jay
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to stop player movement input when displaying Quest and Journal UI

Post by Tony Li »

Hi Jay,

For dialogue using Quest Machine's dialogue UI, add a Greet Quest Giver ability to the player. It works similarly to the Dialogue System's Converse ability.

For the journal UI, add an Enable Cursor While Active component to it. This will show the cursor and freeze player movement.
Jbacal
Posts: 19
Joined: Sun Jan 24, 2021 9:38 pm

Re: How to stop player movement input when displaying Quest and Journal UI

Post by Jbacal »

Worked perfectly! Thanks once again.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to stop player movement input when displaying Quest and Journal UI

Post by Tony Li »

Glad to help!
Post Reply