Skip to reading
PCA Script Programming

list_box_clear_items()

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

List Box: Clear Items | Action ID: ListBoxClearItems

Clear the manual items in a list box.

Source table from list_box_clear_items(), page 178
Option key / fieldMeaning and accepted inputDefault
GUI guiIdChoose an authored GUI ID.Blank
List Box elementIdChoose an element inside the selected GUI.Blank

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

Code example
list_box_clear_items({"guiId": "hud", "elementId": "topline"})

In use. Empty a results list before rebuilding it. An array- or inventory-backed list may repopulate from its source; clear or change that source when appropriate.

carousel_add_image()#

Carousel: Add Image | Action ID: CarouselAddImage

Add an imported image asset to an image carousel.

Source table from list_box_clear_items(), page 178
Option key / fieldMeaning and accepted inputDefault
GUI guiIdChoose an authored GUI ID.Blank
Image Carousel elementIdChoose an element inside the selected GUI.Blank
Image Asset 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
carousel_add_image({"guiId": "hud", "elementId": "topline", "assetId": "your_asset"})

In use. Add a newly discovered photograph to a gallery. Choose the GUI and carousel element, then the image asset. This is not a command to create a new image file.

Page 178 of 357Permalink
Go to page