Page 1 of 1

How to : MP4 cut scene frame transition

PostPosted: Mon Apr 18, 2022 4:06 am
by reneuend
After I fixed the issue with MP4 and modern graphic card compatibility, I found that using the PlayVideoWin7 routine works, but you can't go to another frame after playing the video using Action.CreateTimedEvent like this:

Code: Select all
Action.CreateTimedEvent 9,"Action.GoToFrame ""office cubical opening""", False
PlayVideoWin7 GetPath(2) & "office_box_delivery.mp4", 1, 9


It will play the video, but then it does not advance to the frame, "office cubical opening".

The Fix: Adding the StopVideoWin7 in the CreateTimedEvent fixes this issue:

Code: Select all
Action.CreateTimedEvent 9,"StopVideoWin7 9:Action.GoToFrame ""office cubical opening""", False
PlayVideoWin7 GetPath(2) & "office_box_delivery.mp4", 1, 9