PDA

View Full Version : question about sequences


No Use For A Name
26-03-2005, 05:25 PM
I'm playing LOMAC, and I want to assign the same key to cycle throug' my combat/landing flaps. I have a sequence that cycles between them, but I also want it to fully retract them and the end (Retracted-->combat-->full-->retracted). Once I start the sequence, it just cycles between combat and full flaps. How can I get them to retract again within the sequence? thanks for any help!

I also want to do this for my Autopiolot, but I figgure it will be the same for both
Here's what it looks like:

SEQUENCE //Cycle between combat/landing flaps
WAIT (JS2.B16);
CMS.B6 = TRUE;
WAIT (JS2.B16);
CMS.B6 = FALSE;
CMS.B7 = TRUE;
WAIT (JS2.B16);
CMS.B7 = FALSE;
ENDSEQUENCE

Bob Church
27-03-2005, 12:33 AM
Wouldn't it just be a matter of extending the sequence by one more step, something like:

SEQUENCE //Cycle between combat/landing flaps
WAIT (JS2.B16);
CMS.B6 = TRUE;
WAIT (JS2.B16);
CMS.B6 = FALSE;
CMS.B7 = TRUE;
WAIT (JS2.B16);
CMS.B7 = FALSE;
CMS.B8 = TRUE;
WAIT(JS2.B16);
CMS.B8=FALSE;
ENDSEQUENCE

and then setting CMS.B8 to send the retract command? What is it that you need to send to get the flaps to retract?

- Bob

The StickWorks
http://www.stickworks.com

No Use For A Name
27-03-2005, 01:05 AM
DOH!...i forgot that landing flaps wasnt a toggle and it's two separate commands.
ok, we'll give it a go. thanks!