Skip to content

Issue 2130 back again. Throttle won't update until after a trigger. #2532

@Dunbaratu

Description

@Dunbaratu

This issue was supposedly already fixed. It was originally issue #2130, which was already addressed.

But it's still happening now in kOS 1.1.8.0. I don't know if something got reverted, or if some important change happened, but the issue is back again.

Here's an example proving it:

set T to 0.5.
lock throttle to T.
wait 0.
print "Throttle starting at:" + throttle + " Before trigger.".
when true then {
  print "TRIGGER STARTING.".
  set T to 0.75.
  print "Throttle should be: " + throttle.
  print "But look at navball - it's not moved there yet.".
  print "Waiting 10 seconds before trigger ends".
  wait 10.
  print "TRIGGER IS ENDING NOW.".
}
wait 0. // let the above trigger have a moment to notice it should activate.
print "NOTICE THROTTLE NOW MOVES TO " + throttle.
print "Hit CTRL-C to end.".
wait until false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugWeird outcome is probably not what the mod programmer expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions