15. Change verbs and cursors through actions or scripts
On this page
Use the shared action system when a cutscene, GUI action list or visual script needs to change a current command or pointer.
| Action | Main fields | Result |
|---|---|---|
| Change Verb | New Verb (verbId) | Select a command. |
| Change Game Cursor | Cursor (cursorId) | Request a cursor override without changing the selected command. |
| Enable / Disable Verb Command Usage | Enabled (enabled) | Suspend or restore the shared verb interaction route. |
| Execute Selected Verb Command | Character / Object (entityId) | Run the currently selected command on a target. |
| CancelPreposition | None | Cancel a pending first-object selection. |
A cursor override changes the pointer route, not the meaning of a click. You can show an alternate cursor while the selected command remains Look.
GDScript example#
Put these calls inside the entry function supplied by the script editor. Keep the template's existing wrapper and parameters.
await ChangeVerb({"verbId": "wind"})
await ChangeGameCursor({"cursorId": "alternate_pointer"})To release a forced cursor and return to the normal selection rules:
await ChangeGameCursor({"cursorId": ""})Do not change the verb merely to restore an overridden pointer. They are separate settings.
PCA Script#
function run()
ChangeVerb({"verbId": "wind"})
ChangeGameCursor({"cursorId": ""})
end