Skip to reading
PCA Script Programming

Boundaries and compatibility notes

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Earlier edition reference / Current 0.86.4.0 property paths > p. 329

PCA Script 1.0 is a deliberately small authored language. Use an explicit helper in GDScript, Lua or BASIC when their supported capabilities better fit the job, then pass normal data through the shared router.

Source table from Boundaries and compatibility notes, page 308
Not a PCA 1.0 facilityUse instead
C-style headers, textual imports or macrosScript records and call_script/include_script.
Terminal input / prompt() / input()GUI text boxes, variable-bound controls or the text parser.
C for-loops, do-while, switch, ternary, ++ or **for each with range, while, else if, explicit arithmetic.
General array/string object methodsThe listed builtins and loops, or a helper function.
Arbitrary native Node methods, networking or OS accessAn intentional native helper, written for the target platform.
General file rename/delete/append APIRead-modify-write for supported user-data files; native helper where needed.
Automatic permanent editor document editingThe corresponding designer and project save workflow.
C# / Python authored script routes in this buildThe implemented PCA/GDScript/Lua/BASIC/visual routes.

Compatibility details worth keeping nearby: every runs its body immediately before the first wait; include_script with one argument only resolves an ID; included variables are a separate session store; read_json_file treats parsed null as fallback; unix_to_date_time ignores its accepted second argument; end() is not a game termination command.

The distinction between a diagnostic helper and a statement also matters: script_error logs; pca_assert reports and returns a Boolean; assert can fail a frame; the standalone breakpoint statement is the pause form.

Page 308 of 357Permalink
Go to page