Cinematic camera control

In one of my cinematic, camera need to stop follow the actor and slowly move to another position.
It's a spy cinematic. And no, it's not a shower spy haahha.

But I did't find out how. With the new update of the furum google did't work anymore for find anything lol,so I need to ask.

Thanks.
I did some tinkering and this is what I came up with.

call this by event script to focus the camera on only that event
PHP:
// focus on this event
if($gameMap.event(this._eventId).isMovingCached === undefined)
    $gameMap.event(this._eventId).isMovingCached = $gameMap.event(this._eventId).isMoving;
if($gamePlayer.centerCached === undefined)
     $gamePlayer.centerCached = $gamePlayer.center;
$gamePlayer.center = function(){
     return false;
}
$gameMap.event(this._eventId).isMoving = function(){
     $gamePlayer.centerCached(this._realX, this._realY);
     return $gameMap.event(this._eventId).isMovingCached(this, arguments);
}
call this by event script to return camera focus to the player (it's got to be the same event)
PHP:
// don't focus this event
$gamePlayer.center = $gamePlayer.centerCached;
$gameMap.event(this._eventId).isMoving = $gameMap.event(this._eventId).isMovingCached;


(it's not php, but I like the highlighting. it's technically not code either, but script.)
I did some tinkering and this is what I came up with.

call this by event script to focus the camera on only that event
PHP:
// focus on this event
if($gameMap.event(this._eventId).isMovingCached === undefined)
    $gameMap.event(this._eventId).isMovingCached = $gameMap.event(this._eventId).isMoving;
if($gamePlayer.centerCached === undefined)
     $gamePlayer.centerCached = $gamePlayer.center;
$gamePlayer.center = function(){
     return false;
}
$gameMap.event(this._eventId).isMoving = function(){
     $gamePlayer.centerCached(this._realX, this._realY);
     return $gameMap.event(this._eventId).isMovingCached(this, arguments);
}
call this by event script to return camera focus to the player (it's got to be the same event)
PHP:
// don't focus this event
$gamePlayer.center = $gamePlayer.centerCached;
$gameMap.event(this._eventId).isMoving = $gameMap.event(this._eventId).isMovingCached;


(it's not php, but I like the highlighting. it's technically not code either, but script.)

Thanks, it's work if the event that start cinematic was the one who start it, but did't find a way to chose the number of event with focus.
Also, it's directly go to the event to focus.
I lookin for more freedom like shose to more camera 10 to the right.
I probably need a pluggin.
I found SDR_CameraCore, my problem is solved this pluggin do it with smoth transition =:0)
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/cinematic-camera-control.74391/