Gameplay: Control profiles, verbs and pointer behavior
On this page
These commands affect how the player operates the game. Movement profile, interaction mode, input device and visibility of the pointer are separate settings. Provide a way back when an experiment changes the controls.
set_runtime_controls_enabled()#
Set Runtime Controls Enabled | Action ID: SetRuntimeControlsEnabled
Enable or disable the runtime control-profile system.
| Option key / field | Meaning and accepted input | Default |
|---|---|---|
| Enabled enabled | Explicit on/off state for the feature or response. | true |
Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.
set_runtime_controls_enabled({"enabled": true})In use. Enable the newer adaptive controls for a sequence that uses device switching. Disabling the profile system is not identical to Set Player Input Enabled false; it changes which control machinery is in use.
set_movement_profile()#
Set Movement Profile | Action ID: SetMovementProfile
Choose legacy, point-and-click, direct, first-person or drag-to-move movement.
| Option key / field | Meaning and accepted input | Default |
|---|---|---|
| Movement Profile profile | Choose: legacy, point-and-click, direct, first-person, drag-to-move. | "point-and-click" |
Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.
set_movement_profile({"profile": "point-and-click"})In use. Switch to direct movement for a short action scene and restore point-and-click afterward. Navigation, camera and input mappings still need to suit the chosen profile.
