DECORATE state syntax: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "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 ...")
 
No edit summary
Line 1: Line 1:
EDF allows using a concise ZDoom DECORATE-style state syntax for [[thingtype|thing types]], by using the '''states''' field, followed by a heredoc (multiline string). The syntax is described in detail [http://zdoom.org/wiki/Actor_states here], in the ZDoom wiki.
EDF allows using a concise ZDoom DECORATE-style state syntax for [[thingtype|thing types]], by using the '''states''' field, followed by a heredoc (multiline string). The syntax is described in detail [http://zdoom.org/wiki/Actor_states 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 [[Editing reference]].
{{Backto|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.
 
[[category:EDF]]

Revision as of 15:21, 3 March 2012

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.