Using PlayerCinematicControl node in FlowGraph

Overview

PlayerCinematicControl node in Flowgraph comes in handy when we need to control the player in the cutscene with player control.

This is meant to limit the ability of the player that may hinder or interrupt while the scene is playing. This is also usable for doing transition from gameplay to cutscene.

Function in the node

Parameter

Description

HolsterWeapon

The weapon will be stored away. There won't be weapon in sight and the player won't be able to shoot.

LowerWeapon

The weapon is being lowered. The weapon is still insight, but un able to shoot.

restrictMovement

Locking the player so he cannot move

RestrictToWalk

The player can only walk. Run and sprint and jump is disabled.

ResetAll

Reset the above function. The player will have the weapon in sight and able to shoot again

How to use the PlayerCinematicControl node

The PlayerCinematicControl can be triggered at any time. Certain function can be combined (f.ex HolsterWeapon+RestricMovement or LowerWeapon+RestrictToWalk).

Make sure to trigger ResetAll when the player should gain all the control back.