DECORATE state syntax

From Eternity Wiki
Revision as of 15:21, 3 March 2012 by Printz (talk | contribs)
Jump to navigationJump to search

EDF allows using a concise ZDoom DECORATE-style state syntax for thing types, by using the states field, followed by a heredoc (multiline string). The syntax is described in detail here, in the ZDoom wiki.

Note that DECORATE errors in Eternity will trigger warnings at startup which can only be observed with -edfout or -edf-show-warnings during the text-mode part of the program initialization. You can press the Pause key during that sequence to read the warning messages. Usually in these cases, the DECORATE state definition is fully disabled.

Back to EDF state reference

Differences from ZDoom's DECORATE

  • The frame after a goto line must be labelled in Eternity. Of course, labels can be native (spawn, see, pain etc.) or user-defined.