Page MenuHomeFeedback Tracker

Scripting Support - Freelook Toggle and Lock by Script.
New, NormalPublic

Description

This is primarily intended for cinematic single player experiences.

How it would function is a script call would be made in the SQF File --- something like this.

player lockFreelook true;

Additionally, a second command would be excellent with this --- disabling player movement, similarly how this feature can be disabled by AI - this would essentially keep users from moving around during these sequences.

This would essentially be the same as the user activating the freelook key, except in this case, the player can not exit freelook by their input, but rather freelook would only be exited by script call when it is re-enabled.

The purpose? --- this would help tremendously with creating cinematic experiences in single player missions, such as cutscenes, etc. etc.

Alternatively, it would be nice to enable "AI remote control" where the player would be able to continue to use freelook, but AI would handle pathfinding and movement, and could be used like they would normally without player control - this would allow you to create movement points for the player character while scripting these cinematic sequences.

Thank you!

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

N/A

Additional Information

N/A

Event Timeline

Vagrant151 updated the task description. (Show Details)
Vagrant151 updated the task description. (Show Details)Nov 3 2021, 2:10 AM
dedmen added a subscriber: dedmen.Mon, Nov 15, 6:14 PM

Alternatively, it would be nice to enable "AI remote control" where the player would be able to continue to use freelook, but AI would handle pathfinding and movement

that is already possible. I think switchCamera?
I know I've done this in the past, but more as accident than deliberately, I was able to transfer my camera into a AI's head, without the AI loosing control of its body.