ACS Basics - Doom Legacy Wiki

ACS Basics

From Doom Legacy Wiki

Jump to: navigation, search
Editing Tutorials

ACS is the native scripting language of Hexen and Zdoom(with even greater flexibility in Zdoom). It is quite similar to FraggleScript in terms of its structure but far more extensive and a bit more powerful. There are two categories of commands.

1. Action Specials

2. Built-In ACS functions

Action specials are actually types of linedefs, with everything ranging from lifts to doors to teleporters. All the linedef types that exist in Hexen or Zdoom as the case may be can be considered ACS functions. ACS flexibility allows you to call these actions from a script as an alternative to directly tagging the line to the sector.

Built-In ACS functions are the functions native to the language itself. Such include commands for getting information like the amount of monsters alive, amount of ammo player has and other functions for fixed-point calculations, displaying messages etc.

Note : Unlike FraggleScript, ACS script can take arguments. For more info go to the ZDOOM WIKI.

[1] ACS at ZDOOM wiki

Personal tools