Jump to content

CrAzY GeNiUs

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by CrAzY GeNiUs

  1. lock throttle to 1.
    lock steering to heading h1 by p1.
    print "THROTTLE 1".
    wait 1.

    set h1 to 90.
    set p1 to 35.
    set target to "target1".
    set td to target:distance.

    brakes off.
    stage.
    print "BRAKSE OFF".
    print "ENGINE ON".

    wait 30.
    gear off.
    print "GEAR UP".
    set h1 to target:heading.

    print "TARGET DISTANCE:" at (0,4).

    print "PITCH:" at (0,5).

    wait until altitude > 9250.
    set p1 to 0.

    until 0 {
    if altitude > 10000 {set p1 to -1.}.
    if altitude < 10000 {set p1 to 8.}.
    print p1 at (8,5).
    print target:distance at (17,4).
    }.

    :cool:

    next "LANDING SISTEM"

    NEED HELP for LANDING SISTEM

  2. lock throttle to 1.
    lock steering to heading h1 by p1.
    print "THROTTLE 1".
    wait 1.

    set h1 to 90.
    set p1 to 35.
    set target to "target1".
    set td to target:distance.

    brakes off.
    stage.
    print "BRAKSE OFF".
    print "ENGINE ON".

    wait 30.
    gear off.
    print "GEAR UP".
    set h1 to target:heading.

    print "TARGET DISTANCE:" at (0,4).

    print "PITCH:" at (0,5).

    wait until altitude > 9250.
    set p1 to 0.

    until 0 {
    if altitude > 10000 {set p1 to -1.}.
    if altitude < 10000 {set p1 to 8.}.
    print p1 at (8,5).
    print target:distance at (21,4).
    }.

    :cool:

    next "LANDING SISTEM"

    NEED HELP for LANDING SISTEM

  3. Are you running that code when you are at 1358m? Because I don't see any loops in there, so it will only run once and then end.

    Try this:


    set p to 0.
    print "P:" at (0,1).

    until 0 {
    print p at (10,1).
    if altitude > 1000 {set p to 1.}.
    if altitude < 1000 {set p to 2.}.
    }.

    Does that work?

    ! Thank you ! ! Thank you ! ! Thank you ! ! Thank you !

×
×
  • Create New...