Skip to reading
PCA Script Programming

Gameplay: Cutscene control and timeline-specific actions

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
On this page

A timeline event has a start time and an action. Its event duration and the action's own timing are not always interchangeable. These five legacy pose/movement entries are offered by the Cutscene Timeline; they are not regular shared-list picker entries.

start_cutscene()#

Cutscene: Start | Action ID: StartCutscene

Start a Cutscene Timeline record and wait for its session.

Source table from Gameplay: Cutscene control and timeline-specific actions, page 220
Option key / fieldMeaning and accepted inputDefault
Cutscene cutsceneIdChoose a Cutscene Timeline ID.Blank

Timing. Waits for the cutscene session.

Code example
start_cutscene({"cutsceneId": ""})

In use. Choose Reveal the Signal from the lever's successful branch. Let the cutscene's input, HUD, skip and camera-restoration settings own the cinematic behavior. Avoid starting the same cutscene from its own first event.

end_cutscene()#

Cutscene: End | Action ID: EndCutscene

End the active cutscene, optionally restoring the camera.

Source table from Gameplay: Cutscene control and timeline-specific actions, page 220
Option key / fieldMeaning and accepted inputDefault
Restore Previous Camera restoreCameraRestore the cutscene's previous camera when ending.true

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
end_cutscene({"restoreCamera": true})

In use. Use it when a branch should cut the sequence short. Keep critical puzzle state outside optional visual beats so skipping and ending early cannot leave the game half-repaired.

Page 220 of 357Permalink
Go to page