So, I am currently workshopping an exploration focussed mission, based off
this (seems like you need a spoonful of sugar,
fine).
And to make it more interesting, I though I would try *something*. Part that something would be to check if the player has touched the controls, while they are flying through the area and chasing those elusive signals.
While I can do that with
key-pressed SEXP for almost everything, there seems no way to do that when comes in input from the mouse or joystick - there is no axis-pressed. What I came up with is doing repeated events that save the orientation at time
t in a set of variables and then at
t+x check the orientation at
t+x against the one at
t, and see if a change occurred.
That however runs into an issue with if input is contained to the time between
t and
t+x and player actually manages the feat of precisely go back to their previous orientation; esspecially if I suspend the check for a time, e.g. if they are in proxmitry of the one of the objects they are supposed to find.
A
is-facing check is out of the question because I want the player to navigate somewhat blind.
Anyone got a better idea?