Go to location and teleport to location always return control immediately
gchpaco opened this issue ยท 3 comments
Minecraft Version
1.15.2
Forge Version
1.15.2-31.2.36
Mod Version
Unreleased pneumaticcraft-repressurized-1.15.2-1.4.4-66.jar
Describe your problem, including steps to reproduce it
No matter whether the drone is set to "done when departing" or "done when arrived", control proceeds immediately after teleport and go to location commands as far as my testing shows. I attempted to insert a 2 second wait to try to time it out here but no love. Similarly, I tried swapping teleport and go to location.
Not seeing this behaviour (although I've already fixed the departing/arrived bug you mentioned separately)
I set up a basic program: Start -> Goto Location -> Suicide. With "done when arrived", the drone suicides upon arrival. With "done when departing", the drone suicides straight away, as expected.
Replacing Goto with Teleport, the drone always suicides on arrival, but that's because teleportation is instantaneous (and the teleport is complete by the time the next tick happens). The teleport config GUI probably doesn't need the arriving/departed buttons, but I need to test more with that.
Just tried that, still not seeing the behaviour you describe. Using a simple Start -> Goto -> Standby program, I see:
- With "Done when arrived", the drone flies to the location, then goes to standby - as expected
- With "Done when departing", the drone goes to standby, then continues to fly jerkily to the location with the propellors stopped, which is a bit daft-looking, but not strictly wrong - since drone programs loop, the Goto widget executes again immediately, so the drone momentarily goes off standby and moves a bit, then goes to standby again.