Skip to reading
GDScript Programming & Godot

StartFMV()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Start FMV

Start the extension's FMV playback route with an end, point or interrupt continuation mode and optional script.

Source table from StartFMV(), page 205
Option key / fieldMeaning and inputDefault
Movie Asset ID assetIdChoose an imported video.Blank
Playback Limit modeChoose: end, point, interrupt."end"
Play Until (seconds) endTimeFMV point-mode endpoint; this differs from the seek destination. Range: 0 to 86400.0
Completion Script scriptIdChoose a visual or supported text script. May be blank.Blank

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await StartFMV({"assetId": "your_asset", "mode": "end", "endTime": 0})

In use. Play until a chosen point, then call the script that presents the next interactive decision. Configure the video and continuation intentionally. FMV is a media-driven interaction route, not the Cutscene Timeline itself.

StopFMV()#

Stop FMV

Stop the current FMV playback route.

No options in the standard catalog schema.

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await StopFMV({})

In use. Use it when leaving an FMV sequence entirely. Decide what room, interface or script takes over after cancellation.

Page 205 of 378Permalink
Go to page