[SOLVED] Disable player controls on Dialogue using "3rd Person Controller"

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
supadupa64
Posts: 200
Joined: Sun Mar 06, 2016 9:40 pm
Contact:

[SOLVED] Disable player controls on Dialogue using "3rd Person Controller"

Post by supadupa64 »

Ok, so when dialogue pops up since I use my mouse cursor to look around when I move the mouse to click on dialogue options the screen also moves. How can I disable screen movement during dialog? I guess just disable player controls?
Last edited by supadupa64 on Tue Mar 08, 2016 1:25 am, edited 3 times in total.
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Disable player movement controller on Dialogue

Post by Tony Li »

Yup, you got it. There's a section on that. (How to Set Up the Player)

In brief, you'll give your player a Set Component Enabled On Dialogue Event component and/or a Set Active On Dialogue Event component and configure them to disable player controls when a conversation starts and re-enable them when the conversation ends.
User avatar
supadupa64
Posts: 200
Joined: Sun Mar 06, 2016 9:40 pm
Contact:

Re: Disable player movement controller on Dialogue

Post by supadupa64 »

I figured it out. It's different since I'm using "Third Person Controller."

I used this:

Selected: Player Character
Set Comonenent Enabled Dialogue Event
On Start:
- RigidBodyCharacter Controller
- Player
- MainCamera Controller
On End:
start:
- RigidBodyCharacter Controller
- Player
- MainCamera Controller
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: [SOLVED] Disable player controls on Dialogue using "3rd Person Controller"

Post by Tony Li »

That's great. BTW, if you're using Opsive's Third Person Controller, there's a dedicated support package for it: Third Person Controller Support. This makes it easier to set up and use Third Person Controller with the Dialogue System.
Post Reply