FraggleScript - Doom Legacy Wiki

FraggleScript

From Doom Legacy Wiki

Jump to: navigation, search

FraggleScript is Legacy's current scripting language. It was created by Simon "Fraggle" Howard for the SMMU source port. It allows you to perform functions beyond the normal level editing of Doom Legacy.

The syntax of the language is inspired by C. The scripts section is divided into a number of scripts, each of which is assigned a number. Individual scripts can be triggered by linedefs inside the level (crossing a line or pressing a button, for example). The sector tag is used to indicate the script number to activate.

Code written outside of any script is executed when the level is loaded, and can be used to set up the environment for the other scripts.

Source

Personal tools