Skip to reading
PCA Script Programming

1. Start here: what PCA Script is

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

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.

Source table from 1. Start here: what PCA Script is, page 8
You want to…Read first
Understand punctuation, values and decisionsChapters 3-10
Use loops, arrays, text, math or filesChapters 11-19
Make a playable puzzle or read a text boxChapters 20-29
Share functions with visual scripts or another languageChapters 30-34
Find a gameplay function or designer propertyThe 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.

Page 8 of 357Permalink
Go to page