I wish this would be so easy... I know almost nothing about DOF scripting in table scripts...
Today I have done the reverse way - in Alaska script are already DOF triggers and are well named in some description columns inside the script. So I have some extensions done in my own DOF config settings for the Alaska table. I was very proud that now my contactors and flashers are working with the table.
But this was much easier than doing a complete DOF for actions/triggers in a script where no DOF is at all...
in it's most simple
DOF config for table says (just example not real event numbers)
left bumper E220 (E is the event ID)
So in table
sub leftbumper_hit
do things
DOF 220, 2 (DOF Event 220, Pulse)
do other things
It can also be incorporated into the play sound (which allows a person to not play sounds represented by DOF toys, if they so wish)
sub leftbumper_hit
PlaysoundAT SoundFXDOF("bumper1", 220, 2, DOFContactors), leftbumper
do rest of bumper stuff
now DOF lighting
That one i can not explain to you because for one, i dont know what the dofconfig authors envisioned for a given table pertaining to lights
but the toys, those i can at least tell you how to make work