This reference is divided into two major sections with many subsections in each of those. The purpose of this reference is to provide an index to all commands in the language, and define the input required and the output produced by each command. In many instances a short example of the use of the command is provided.
The Language API (Application Programming Interface) is related and common in many languages - these are used to control program execution and are part of the core language.
The rest of PRPL is contained in the Platform API and is PF-specific. These govern the behavior of objects in the PF game.
To get started, review the CRPL overview and the programming tutorial. If you seek to write neater code, read the style guide. If you are familiar with CRPL, and wish to learn the new language features, the upgrade notes are for you. There is also an alphabetic list of commands in the language. In addition, you can examine map resources from other maps and missions from the game.
Please note that much of this documentation was generated rather than written. Any help in editing is appreciated.
Editors help: Pages follow this template.
Utility: List of unit types
Note on IDs: UID is generally used here to refer to a unit. SID is for ships, PID for particles. However, from CRPL, UID may be used to refer to any of these.
Language API |
Platform API |
Vars and Functions
ComparatorsBuilt in Functions
Logical OperatorsProgram Flow ControlMathStack Manipulation |