Each DMX trigger declaration appears in the DMXcommands.xml inside the containing <DMX_CONTROL version="2.00"> element, and contains the following parts.
Anything between a <!-- and --> is considered commented out.
event - This tag is what is used to define separate triggered effects. It must be a child element under <DMX_CONTROL>, and has mandatory type and optional continuous attributes.
timeblock - This tag breaks up the event into sections, played sequentially. It must be a child element under <event>, and has a mandatory mseconds attribute.
setvalue - Here's where the magic happens. This tag is a command for a single DMX channel. It must be a child element under <timeblock>, and has mandatory index, value, and change attributes.
The event below creates a yellow light on DMX channels 6 though 8 during tractoring events, and fades it out for a half second and in for a half second.
<!-- ********************************************************************************************* -->
<event type="TRACTORED_FOR_DOCKED" continuous="yes">
<!-- pulsing yellow light -->
<timeblock mseconds="500">
<setvalue index="5" value="200" change="-100"/> <!-- red value of first light box -->
<setvalue index="6" value="200" change="-100"/> <!-- green value of first light box -->
<setvalue index="7" value="13" change="0"/> <!-- blue value of first light box -->
</timeblock>
<timeblock mseconds="500">
<setvalue index="5" value="150" change="100"/> <!-- red value of first light box -->
<setvalue index="6" value="150" change="100"/> <!-- green value of first light box -->
<setvalue index="7" value="13" change="0"/> <!-- blue value of first light box -->
</timeblock>
</event>