Xandaros
Members-
Posts
2 -
Joined
-
Last visited
Reputation
0 Neutral-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
Xandaros replied to Dunbaratu's topic in KSP1 Mod Releases
@Steven Mading Yes, it's weird. Also, I have to defend myself here a bit. I understand how when works There is also only ever two triggers active at once (they are nested) and at the point where this problem occurs, there should not be any other active trigger. Even if there was, there is a large wait after the throttle change. Since other triggers cannot activate while a trigger is being executed, this should be fine. You did make a great point though and I should probably move most of that code into the mainline and use "wait until" instead. This is my first script, so I don't mind some suggestions for how to improve the general style. Edit: I changed all the chained triggers to "wait until" and now it works. I still maintain that my original script should work, though.- 1,354 replies
-
- mod
- programming
-
(and 1 more)
Tagged with:
-
[KSP 1.12.x] kOS v1.4.0.0: kOS Scriptable Autopilot System
Xandaros replied to Dunbaratu's topic in KSP1 Mod Releases
Alright, I'm at my wits end. Why does "lock steering to 0." just not do anything at all? Relevant section: when apoapsis > desiredHeight then { print "coast to apoapsis". getvoice(0):play(Note(400,0.2)). lock throttle to 0. wait 10. print "lock throttle to 0". lock throttle to 0. It prints and beeps just fine, but keeps on thrusting like nothing happened... Full script: http://tcpst.net/7tfi- 1,354 replies
-
- mod
- programming
-
(and 1 more)
Tagged with: