1. Start here: what PCA Script is
PCA Script is the adventure language built into PCA 3D. It can read your game’s records, change puzzle state, move actors, run interfaces and call the same gameplay actions used by visual scripts. You can write a short instruction such as say "The door is locked.", or build a reusable function with parameters and a return value.
This book uses PCA 3D Adventure Studio 0.86.3.4 and PCA Script language 1.0. The screenshots come from the running editor. The explanations apply on Windows, macOS and Linux; the placement of a dock can change with window size and layout.
Read chapters 1-14 in order if programming is new to you. Chapters 15-29 turn the basics into game logic. Chapters 30 onward explain integration, debugging and the complete reference. The reference is meant to be searched while you work, not memorized before you make a door open.
| You want to… | Read first |
|---|---|
| Understand punctuation, values and decisions | Chapters 3-10 |
| Use loops, arrays, text, math or files | Chapters 11-19 |
| Make a playable puzzle or read a text box | Chapters 20-29 |
| Share functions with visual scripts or another language | Chapters 30-34 |
| Find a gameplay function or designer property | The function, action and designer reference sections |
Scope: this is the authored PCA Script API in this build. A setting in an editor does not automatically become a callable function. Unsupported facilities are called out, and the reference distinguishes record properties, shared actions and editor-only operations.
