Book Image

Unreal Engine Game Development Cookbook

By : John P. Doran
Book Image

Unreal Engine Game Development Cookbook

By: John P. Doran

Overview of this book

Table of Contents (18 chapters)
Unreal Engine Game Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preventing a player from moving via cinematic mode


Now that we know how to create Matinees, we should be able to create amazing cinematics that make your levels really come alive! However, by default, when you play a cinematic, the player can still move around and turn. This may be the desired behavior depending on whether you're using something like a custom camera system, such as Resident Evil, or the Matinee for moving objects such as moving platforms. But, for a cinematic, we don't want it. Thankfully, there is a way to prevent this via Blueprints.

Getting ready

Before we start working, you should have a level opened and have a complete Matinee. You should also have it playing in the actual game. For assistance with this, check out the Playing a Matinee via Blueprints recipe.

How to do it…

  1. Open up the level blueprint by going from the top tool bar and navigating to Blueprints | Open Level Blueprint.

  2. From here, we should have the appropriate nodes to play our Matinee.

  3. To the right of the Play...