MV YEP_ActSeq3: Following a subject and then locking camera in place

Hi everyone,

I'm trying to follow a subject (the user of a skill) in an action sequence while they move, and then once they get to a certain point - I want to lock the camera in position even if that subject continues to move.

How I am doing this currently, is using the "camera focus" to follow the user's "float" (float user: 150%, 60), and then using the command "camera screen: user, center, 0" to try and lock the camera in position when the user has completed their initial float movement (because I don't want the camera to follow their subsequent movements).

However, there appears to be a flash frame here when using the "camera screen" command, and it also wants to focus on the user's HOME position, not where they have currently floated to.

If there is a way to get the coordinates of the user's current center position and store them in global variables, I think the "camera screen" command could utilize this.

Thanks!
Try:
camera screen: point, user.spritePosX(), user.spritePosY(), 0
Thank you @ATT_Turan . I try this, and get the following error:

Spoiler
1639608369410.png
Try changing it to this.actor().spritePosX() and same for Y.
Thank you @ATT_Turan . I don't get the crash using this line instead, however I still get the same frame jump I did before. Perhaps I'll just find a way to write the action sequence differently.

Thanks.
Does it lock in the correct place, though? Inquiring minds want to know if that part works 😛
@ATT_Turan Haha, yeah so the behavior is the same as it was previously. The camera jolts to a different part of the window for what seems like a single frame, and then refocuses where it should.

Original thread: https://forums.rpgmakerweb.com/threads/yep_actseq3-following-a-subject-and-then-locking-camera-in-place.143015/