Resource icon

[VScript] Cutscene Handler (point_viewcontrol) hotfix 1.1 2

  • Hey you! Yes, you! Add images to your downloads, it's free! Use the orange "Manage Download Image" button in the top right.

[VScript] Cutscene Handler (point_viewcontrol) hotfix 1.1 2

Cutscene Handler

I wrote this script for myself but decided to share it in public.

Cutscene Preview

Serves purpose of an easier way to manage and handle cutscenes (point_viewcontrol). It has multiple functions. Read more about arguments in script itself. Must be put in info_target or any other preserved entity. Parent/Attachment fields can be set to null

Functions list:

CreateAndApplyVCAll(TARGETNAME, PARENT, ATTACHMNET NAME, DELAY)
function to create viewcontrol and apply it to all players
DestroyVCAll()
function to disable and kill it for everyone (No arguments)
CreateAndApplyVCSpecific(TARGETNAME, PARENT, ATTACHMNET NAME, DELAY, ACTIVATOR)
function to apply it only to the activator. (WARNING: WASN'T TESTED)

image.png

Credit if used is required. Big thanks to ficool2 for sharing safe method of disabling viewcontrol
License
Credit is required. Permission to modify optional.

Latest updates

  1. fix again

    fix again
  2. hotfix

    hotfix
  3. Fix

    Fixed incorrect DestroyVCAll function