Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to eliminate player-based movement during a MoveTo cutscene?

Asked by
RoboFrog 400 Moderation Voter
9 years ago

I've been working on a few mini-cutscenes that are activated at varying times throughout the game that are all based on the MoveTo player method. However, as of now, the player is still able to move during the cutscenes, making the movement in the cutscenes disable (since player movement is more important to the engine).

Most of the methods that are usually used will not work here (such as PlatformStand, anchoring the torso, WalkSpeed = 0, et cetera). The only idea I have thus far is implementing a transparent GUI only active during the cutscenes that one, eliminates clicking (I'll probably do this anyways since it's easy), but also adds in parameters for W, A, S, D, and the arrow keys that will state return or something to make them useless. However, my concern is that they will still be used for movement before the script activates.

If anybody can verify the last statement in the previous paragraph, or knows of a different way to temporarily eliminate user inputted movement, please let me know!

Thank you for reading, and as always, I look forward to finding a solution to this problem.

0
I don't get it, what did you do with wasd and arrow keys? Tesouro 407 — 9y
0
I've not yet done anything, but I was curious as to whether or not making it to where when "W", for instance, is pressed, it will then lead to an end or return or something else of the sort. I'm not sure if that will override the default W purpose or not. RoboFrog 400 — 9y

1 answer

Log in to vote
2
Answered by 9 years ago

You should take a look at this wiki article. It tells you how to remove the player's control over a character and also how to do it safely.

0
Oh, thank you for the link! I was searching through Google and the wiki for a while, that page was a bit difficult to find. This should help others in their search, too. RoboFrog 400 — 9y
0
Your welcome. Spongocardo 1991 — 9y
Ad

Answer this question