I remember speaking with EAI about this for a mech he wanted to make.
Yeah, we couldn't come up with any way to do this with conventional scripting. But Ply's Mod comes with some commands to help with the problem.
If you used the mod, you could do the following:
- Capture the player camera's current angle ($CAX/Y/Z) into a usable variable
- Determine if these angles are higher than you need them to be (or lower than you need them to be), if they are then force the camera's angle back.
(The WrapVar command may or may not be helpful for this)
The one and only,
Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.