I see lots of Cougar owners here. If anyone is into making their own files, here is something I tried in my AH file and it works. I wanted to make the film recorder start and stop between each flight. I start the flight by turning on the engine, so when I start my engine it checks to see if the film recorder is on. If it is, it will stop and start a new film. Here is the code:
DEF X3 S2 AND S3 Rem S2 /I (Film on/off) Flag
DEF X4 X3* Rem Film ON Toggle Flag
DEF X5 S2 NOT S3 Rem S2 /O (Engine on/off) Flag
DEF X6 X5 AND X4 Rem Film ON Engine ON Flag
BTN X5 Eng_All Rem Engine on/off
BTN X3 Film_Rec Rem Film on/off
BTN X6 Film_Rec DLY(60) Film_Rec Rem Turn Film Off then ON
I use the S2 button to start engines, and the shifted S2 to turn on the film. I needed a NOT in there so the flag would not turn on when I press the S2 with the S3 shift key. If I do not start the film recorder, or shut it off, it will not start a new film.
Gunner