AllowCameraControl

From The KillerJim Mod Wiki

PlayerProxy::AllowCameraControl

AllowCameraControl.png

Client Only Function - This API call can only be called on clients.

Description

You can control the camera (effectively disabling the user's control) allowing for camera panning, movement, etc. or just to create a static camera for side scrollers, etc.

You can also use this function to effectively disable mouse input (control)

This is often used with camera controlling SDK calls such as SetCameraTransform, DisableAutomaticFades, etc. Normal UE4 functions can also be used to add effects or control the camera fades.

Arguments
1 boolean Enabled
If true the player won't be able to control the camera; you can modify it.

Playing

Developers

Developer Reference