Skip to reading
PCA Script Programming

carousel_previous()

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

Carousel: Previous Image | Action ID: CarouselPrevious

Move a carousel to its previous image.

Source table from carousel_previous(), page 180
Option key / fieldMeaning and accepted inputDefault
GUI guiIdChoose an authored GUI ID.Blank
Carousel 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
carousel_previous({"guiId": "hud", "elementId": "topline"})

In use. Wire a left-arrow button to the chosen carousel. Wrapping, animation and layout remain properties of that carousel.

carousel_next()#

Carousel: Next Image | Action ID: CarouselNext

Move a carousel to its next image.

Source table from carousel_previous(), page 180
Option key / fieldMeaning and accepted inputDefault
GUI guiIdChoose an authored GUI ID.Blank
Carousel 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
carousel_next({"guiId": "hud", "elementId": "topline"})

In use. Wire a right-arrow button to the chosen carousel. This navigates the widget, rather than advancing dialogue or changing scenes.

Page 180 of 357Permalink
Go to page