Skip to reading
PCA Script Programming

pause_music()

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

Music: Pause | Action ID: PauseMusic

Pause the current music track.

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
pause_music({})

In use. Pause music while an in-game device temporarily takes over the soundtrack. The track position is kept for Resume Music.

resume_music()#

Music: Resume | Action ID: ResumeMusic

Resume the paused music track.

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
resume_music({})

In use. Use it after the device view closes. If another action replaced the track, the old track is not automatically restored.

Page 197 of 357Permalink
Go to page