(I know that there are ways to work around this with SetCameraFOV)
Int bZoomInBegin MenuMode 1004 If NVSE Set iBlockButtonGLOB to GetControl 4 ; In case the user changes their Zoom/Block key EndIfEnd;========================================Begin MenuMode 1007 If NVSE If GetGameLoaded Set iBlockButtonGLOB to GetControl 4 Set fDefaultFOVCameraGLOB to GetNumericIniSetting "fDefaultFOV:Display" EndIf EndIfEnd;========================================Begin GameMode If NVSE If (IsKeyPressed iBlockButtonGLOB != bZoomIn) ; Key 257 = RMB Set bZoomIn to (bZoomIn == 0) ; Set bool to whatever it's not If bZoomIn SetCameraFOV fModifiedFOVCameraGLOB Else SetCameraFOV fDefaultFOVCameraGLOB EndIf EndIf Else RemoveMe EndIfEnd
Int bZoomInBegin MenuMode 1004 If NVSE Set iBlockButtonGLOB to GetControl 4 ; In case the user changes their Zoom/Block key EndIfEnd;========================================Begin MenuMode 1007 If NVSE If GetGameLoaded Set iBlockButtonGLOB to GetControl 4 Set fDefaultFOVCameraGLOB to GetNumericIniSetting "fDefaultFOV:Display" EndIf EndIfEnd;========================================Begin GameMode If NVSE If (IsKeyPressed iBlockButtonGLOB != bZoomIn) ; Key 257 = RMB Set bZoomIn to (bZoomIn == 0) ; Set bool to whatever it's not If bZoomIn SetCameraFOV fModifiedFOVCameraGLOB Else SetCameraFOV fDefaultFOVCameraGLOB EndIf EndIf Else RemoveMe EndIfEnd