Skip to reading
PCA Script Programming

Designer: GUIs

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

Earlier edition reference / Current 0.86.4.0 property paths > p. 329

Use GUI helpers for whole-window and element updates. guis.hud.elements is an array, not a direct elements namespace. A helper targets the loaded control and can rebuild it; direct nested array mutation is not a reliable live notification route.

Reference shape: guis.hud.property_path.

The example ID is illustrative. Choose an existing record in your own project; direct camera, spawn and objective lookups must be unambiguous.

Source table from Designer: GUIs, page 254
Property pathType / accessPurpose and limits
idtext R / DefinitionStable GUI ID.
nametext W / DefinitionGUI display/editor name.
visibleboolean W / DefinitionAuthored initial GUI visibility. Use show/hide GUI statements for immediate runtime visibility.
modalboolean W / DefinitionWhether this GUI blocks gameplay input.
zIndexinteger W / DefinitionGUI draw ordering.
activationModetext W / DefinitionManual, hover, click, or another activation mode.
clickActivationAtMous ePositionboolean W / DefinitionPlace click-activated GUI at the mouse.
clickActivationStopsP layerboolean W / DefinitionStop player movement when click-activated.
hideWhenMouseLeavesboolean W / DefinitionHide hover GUI when the pointer leaves.
hoverDelaySecondsnumber W / DefinitionDelay before hover activation in seconds.
openTransitiondictionary W / Definition / ContainerTransition used when this GUI opens.
closeTransitiondictionary W / Definition / ContainerTransition used when this GUI closes.
windowFramedictionary W / Definition / ContainerWindow, title bar, and close-button appearance.
elementsarray R / DefinitionGUI element records. Edit individual elements in the GUI editor.
customdictionary W / Definition / ContainerProject-defined GUI properties.
Page 254 of 357Permalink
Go to page