set_player_input_enabled()
Enable / Disable Player Input | Action ID: SetPlayerInputEnabled
Enable or disable player control input.
| 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_player_input_enabled({"enabled": true})In use. Disable control during a carefully staged action and restore it on every exit path. Other locks, such as a running dialogue or cutscene, can still keep input unavailable after this action enables its own switch.
set_character_action_enabled()#
Enable / Disable Character Action | Action ID: SetCharacterActionEnabled
Enable or disable a named interaction response on a character.
| Option key / field | Meaning and accepted input | Default |
|---|---|---|
| Character characterId | Choose a Character Designer ID; player is a runtime alias where supported. | Blank |
| Mouse / Trigger Action actionEvent | Choose the response/event to enable or disable. | Blank |
| 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_character_action_enabled({"characterId": "player", "actionEvent": "", "enabled": true})In use. Disable Talk for a character who is busy, then restore it later. The event/verb selection matters: disabling one response is different from hiding the NPC or turning off all interaction.
