Skip to reading
Action Lists & Events

GUIs, element state and data-driven widgets

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView PDF page
On this page

GUI targets have two levels: the interface ID and an element ID inside it. Use the interface-level commands for the whole window and element-level commands for one button, label or widget. Visual Designer preview is not the place to test event execution.

Show Gui#

ID: ShowGUI | Native inspector · Shared list / GUI · Visual graph · Text action wrapper · Timeline

Show an authored interface.

Source table from GUIs, element state and data-driven widgets, page 132
Field / stored keyWhat to enterStarting value
GUI guiIdChoose an authored GUI ID.Blank

In use. Show a note-reading panel after the player examines a document. Check its runtime activation, layer and blocking settings. Showing it is different from enabling a disabled interface.

Hide Gui#

ID: HideGUI | Native inspector · Shared list / GUI · Visual graph · Text action wrapper · Timeline

Hide an authored interface.

Source table from GUIs, element state and data-driven widgets, page 132
Field / stored keyWhat to enterStarting value
GUI guiIdChoose an authored GUI ID.Blank

In use. Hide the note panel on its Close button. It does not erase its definition or necessarily clear the story variables behind it. If another activation rule immediately shows it again, fix that rule rather than adding repeated Hide calls.

Page 132 of 189Permalink
Go to page