Hi All.
I don't know if anyone can shed any light on this.
I've set up the following conditional button events to set and re set elevator, aileron and rudder trim. lines 23 to 29 work perfectly well, but lines 20, 21 and 23 are giving trouble. These resets events work once and once only. After that they do nothing until I restart FSX.
17=;*****************************************
18=; Throttle quadrant
19=;*****************************************
20=CP(+3,2)2,1,C65706,0 -{ELEVATOR_TRIM_SET}-
21=CP(+3,2)2,3,C66731,0 -{AILERON_TRIM_SET}-
22=CP(+3,2)2,4,C66721,0 -{GPWS_SWITCH_TOGGLE}-
23=CP(+3,2)2,5,C66732,0 -{RUDDER_TRIM_SET}-
24=CR(-3,2)2,0,C65607,0 -{ELEV_TRIM_DN}-
25=CR(-3,2)2,1,C65615,0 -{ELEV_TRIM_UP}-
26=CR(-3,2)2,2,C66277,0 -{AILERON_TRIM_RIGHT}-
27=CR(-3,2)2,3,C66276,0 -{AILERON_TRIM_LEFT}-
28=CR(-3,2)2,4,C66279,0 -{RUDDER_TRIM_RIGHT}-
29=CR(-3,2)2,5,C66278,0 -{RUDDER_TRIM_LEFT}-
I've tried replacing CP with CR, but that seems to make no difference.
I've also considered trying to use an offset to do the same thing, but there are several offsets that refer to trim and I'm not certain which one to use.
So I would be pleased to hear from anyone who could help.
My apologies if this duplicates any previous posts. I've looked but I can't find any.
Regards.
Pontius.