So, trying to figure out the best way to do a function in Elite.
Issue is that the way the player journal works, some of the outputs can be delayed up to a half a second from doing it in the game to it being output on the player journal.
For example, I have an existing button that lets me boost, but it has a check to compare to the player journal, to see if the landing gear is down, or cargo scoop is down. If i press it and those are down, it will retract those and let you boost.
However, the issue is if I spam the command, like if you are panicing in an emergency, and the journal has not caught up, you are boosting, but also the gear and cargo scoop is retracting and deploying over and over as the journal is still showing it as out, as it has not updated yet.
What I am thinking of doing is setting a series of commands with a boolean for AskCargoScoop to differ what I want vs what it is
I am just now trying to figure out the best way to have it press it once, but during the next xxxx period of time, try to account for the delay, and extra inputs will not try to press the buttons and undo what I am really asking it to do.