This is an old revision of the document!
This section will explain the features of AngelScript, the script language used by Amnesia (like the syntax, data types, variables, functions, control flow statements, OOP support, etc.), and provide a guide on how to use these features in the context of the HPL2 engine. This is the fundamental knowledge that will help you understand how map scripting for Amnesia works. This guide is intended to teach you scripting (programming), and to be used as a reference to the features and the rules of the script language itself. It is not meant to teach you how to accomplish specific tasks in your custom stories and total conversions for Amnesia (although you might end up learning a few things about that as well).
The following subsections are available: