action()
On this page
action(action_type, properties = {})Run an exact shared gameplay action ID with an options dictionary.
Returns: The action’s result; many actions have no useful return value.
action("CameraShake", {"duration": 0.3, "power": 0.1})Use a supported catalog action. The 206 named wrappers below are easier to discover. An ok:false result becomes a PCA runtime failure.
call_script()#
call_script(script, function = "run", arguments = [], context = {})Call a script through the shared language router and wait for its return.
Returns: The called function’s returned value.
call_script("utility_pca", "add_points", [10, 5])Arguments are positional. Context is an additional dictionary; the caller context is inherited and extended by this route.
include_script()#
include_script(script, function?, arguments?, context?)Resolve an existing script ID; with further arguments, call it through the shared router.
Returns: One argument: ID text. More arguments: called result.
include_script("utility_pca")It does not paste source, import local function names or execute a module on a one-argument call. A missing script reports a PCA error.
