You can now use the "get % cam" script command to retrieve the current yaw/pitch of the camera:
- "get % cam" — The yaw and pitch of the camera will be stored in CAMX and CAMY respectively. These are the same values returned from the -cl console command. Example:
- keys=get % cam|dbg % yaw: (VAR % CAMX), pitch: (VAR % CAMY)
I had disabled the "c" and "cy" script commands for moving the camera for some reason. Not sure why, but they are working again.
These changes require Speeder version 24+.