User Tools

Site Tools



This is an old revision of the document!

Script Language Reference and Guide

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 section is work in progress. Information is currently missing. You are welcome to contribute.

The following subsections are available:

  • Execution Flow - explains how program flow is transfered from the game to the script engine, and vice versa,
  • Quick Start - a quick introduction to map scripting,
  • Variables - explains what variables are and how to use them.
hpl2/amnesia/script_language_reference_and_guide/script_language_reference_and_guide.1356128888.txt.gz · Last modified: 2012/12/21 22:28 by thegreatcthulhu