#define
:
identifier
thingid
This is used to define things to use globally in your script. It should be at the top of your script, but below #clearall (if used).
The
identifier
is any name up to 80 characters long. The
thingid
is the things mapnumber from THINGS.DDF you want to associate the identifier with.
So instead of using a spawnthing trigger and using "16" for the thing to spawn, you can define "cyberdemon" to reference thingid of "16". Then you can use a descriptive name for the thing to spawn, e.g. "cyberdemon", instead of a non-descriptive value of "16".