What I'm looking for is some method to prevent the player from controlling the in-game player and while letting scripted cinematic events unfold unaffected. In my situation, I'm simply trying to stop the player controlling the character as the character moves into a new room. So what I did was make a script that moves the character forward a little and then gives control back to the player. However, this is where I run into problems. I'm using v120 beta 17, by the way.
At the moment, I can sort-of achieve what I'm after. I use plrforcemove=1 on a timer, combined with plrpointatobject=1 and camrotationon=0 attached to an entity. I set an entity where I want the player to move towards and the timer cuts off the movement. One issue is that when I move the mouse the camera still reacts to the mouse, only it stays glued to entity, which creates a glitchy movement. This is only if I move the mouse while in this setup, however.
What I'm wondering is if there is a better option that I'm missing that allows me to take control (cinematically) over the player and prevent player input from interrupting that. If anyone knows anything helpful that would be fantastic.
Thanks,
Burger
- An Instinctive Fear IndieDB page, download demo today!