Page 1 of 1
[SOLVED] Disable player controls on Dialogue using "3rd Person Controller"
Posted: Mon Mar 07, 2016 9:49 pm
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?
Re: Disable player movement controller on Dialogue
Posted: Mon Mar 07, 2016 10:36 pm
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.
Re: Disable player movement controller on Dialogue
Posted: Tue Mar 08, 2016 1:24 am
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
Re: [SOLVED] Disable player controls on Dialogue using "3rd Person Controller"
Posted: Tue Mar 08, 2016 8:54 am
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.
Re: [SOLVED] Disable player controls on Dialogue using "3rd Person Controller"
Posted: Thu Mar 10, 2016 7:02 pm
by supadupa64
Awesome thanks, I got it!