Skip to reading
PCA Script Programming

Builtins: Interfaces and project settings

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
On this page

if_character_moving()#

Code example
if_character_moving(character = "player")

Query whether the selected character is moving.

Returns: Boolean.

Code example
if_character_moving("player")

gui_property() and aliases#

Code example
get_gui_property(gui, property, fallback = null)

Read a whole authored GUI property.

Returns: Property value or fallback.

Aliases: get_gui_property()

Code example
get_gui_property("hud", "visible", false)

set_gui_property()#

Code example
set_gui_property(gui, property, value)

Change a supported property on a whole authored GUI.

Returns: Boolean indicating that the route accepted the target/property update.

Code example
set_gui_property("hud", "opacity", 0.8)

Use the GUI property table for exact keys. This changes the game interface, not the editor theme.

Page 65 of 357Permalink
Go to page