I think there are only a few states just load it with each of the numbers 0-5 or so and see what happens. Or alternatively start a scenario in the editor and set the trigger and make a tech unobtainable then playtest the scenario. Now if you go out to your trigtemp.xs you should see the trigger code.