scene_get_client_ui
Reads a saved client interface or control template in full, returning every control and script in the exact structure needed to edit and write it back with replacement.
Instructions
Read a client interface (ui: its name) or a template of client controls (template: its name) back out of a save, whole: every control with its kind, rectangle (and where it differs on a phone or a console), switches, text, picture and colour, grid layout, button states, the scripts on it and the values it gives their variables, where the stick of a gamepad goes. What comes back under interface (or template) is exactly what scene_add_client_ui (scene_add_client_template) takes, so changing an interface is: read it, change what is to change, write it with replace: true. An interface made by hand in the editor is read the same way (the saves configured by hand that the tests keep are read and written back byte for byte). ids gives the id of every control by its path. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ui | No | ||
| mapPath | No | ||
| template | No |