Skip to reading
PCA Script Programming

stop_gameplay_recording()

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

Stop Gameplay Recording | Action ID: StopGameplayRecording

Stop the active gameplay recording.

No options in the standard shared schema.

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

Code example
stop_gameplay_recording({})

In use. End the test run cleanly before starting another recording. It does not stop a separate operating-system video capture.

play_gameplay_recording()#

Play Gameplay Recording | Action ID: PlayGameplayRecording

Play a saved gameplay recording at the chosen speed.

Source table from stop_gameplay_recording(), page 204
Option key / fieldMeaning and accepted inputDefault
Recording Path pathWritable recording-data path, such as user://walkthrough.json."user://walkthrough.jso n"
Playback Speed speedPlayback speed multiplier; 1 is normal speed.1

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

Code example
play_gameplay_recording({"path": "user://walkthrough.json", "speed": 1})

In use. Replay user://walkthrough.json while checking a room. The recording needs a compatible game state and scene setup; it is not a self-contained replacement for the project and its assets.

Page 204 of 357Permalink
Go to page