Jump to content

KOS steering and throttle problem


Recommended Posts

KOS code only works partly (It doesn't throttle and steer up)(I have a SAS stability assist probe) here's the code:

Spoiler

set t to 10.
until t=0{
    wait 1.
    print t.
    set t to t-1.
}
lock throttle to 1.
lock steering to up.
print("Ignition!").
stage.
wait 10.
until 0 {
    if AVAILABLETHRUST = 0{
        stage.
        break.
    }
}
wait 10.
until 0 {
    if AVAILABLETHRUST = 0{
        wait 5.
        stage.
        break.
    }
}

So the first thing is countdown, then the throttle and steering (doesn't work) then ignition, then the first stage separates after it doesn't do any thrust, and the same thing for the second stage.

Visual script studio doesn't show me any errors (I have KOS extension)

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...