PCA helper functions: the full native reference
On this page
PCAScriptBase supplies 78 public non-action helpers in this build. They sit alongside Godot’s native functions and the 206 gameplay wrappers in the next section. Signatures below come from the actual base script; names and parameter order are case-sensitive.
A call prefixed with await can suspend until its coroutine/signal work finishes. A synchronous helper can be called normally. Native GDScript has no PCA Script-style when/end syntax or try/catch block.
The examples name records in the tutorial workshop. Replace them with your own IDs. A helper returning a proxy is not returning the underlying Node, and a diagnostic helper is not an exception system.
Execution, calls and project access#
EndGame()#
EndGame(message: String = "", ask_first: bool = false) -> boolRequest PCA’s end-game route.
Returns: Boolean result from the runtime.
await EndGame("Thanks for playing.", true)This is a player-facing game operation, not a GDScript return statement.
QuitToMenu()#
QuitToMenu(message: String = "", ask_first: bool = false) -> boolRequest a return to the game’s menu route.
Returns: Boolean result.
await QuitToMenu("Return to the menu?", true)