Skip to reading
PCA Script Programming

set_save_slot_image()

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

Set Save Slot Image | Action ID: SetSaveSlotImage

Set the image override used for save-slot presentation through the extension.

Source table from set_save_slot_image(), page 217
Option key / fieldMeaning and accepted inputDefault
Save Slot Image assetIdChoose an imported image.Blank

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

Code example
set_save_slot_image({"assetId": "your_asset"})

In use. Choose an authored chapter illustration instead of a live screenshot when appropriate. The asset must be an imported image. It does not create a new save or choose which slot gets saved.

set_game_language()#

Set Game Language | Action ID: SetGameLanguage

Set the game text language, optionally persisting the selection.

Source table from set_save_slot_image(), page 217
Option key / fieldMeaning and accepted inputDefault
Language Code languageLanguage code used by the project, such as en.Blank
Save Player Preference persistRemember this language preference beyond the immediate runtime change.true

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

Code example
set_game_language({"language": "", "persist": true})

In use. Choose a language code present in the project's translations. Keep Persist on for a player preference that should survive later sessions. This does not translate text that was never entered into the translation workflow.

Page 217 of 357Permalink
Go to page