Skip to reading
GDScript Programming & Godot

PauseFMV()

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

Pause FMV

Pause the current FMV 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 PauseFMV({})

In use. Pause the clip while a decision is visible. This does not pause every other game system automatically.

ResumeFMV()#

Resume FMV

Resume FMV with the chosen continuation mode, endpoint and script.

Source table from PauseFMV(), page 206
Option key / fieldMeaning and inputDefault
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 ResumeFMV({"mode": "end", "endTime": 0, "scriptId": "utility_gd"})

In use. Continue after the player answers a timed question. Recheck endTime and the chosen script so resuming does not immediately reach the same stop point again.

Page 206 of 378Permalink
Go to page