Blockland Forums > General Discussion
Why don't weapons that have ironsights use zoom to ironsight?
Port:
--- Quote from: Subpixel on January 26, 2014, 03:29:47 PM ---How?
--- End quote ---
GameConnection::getControlCameraFOV()
Albeit, if a client changes their default FOV from 90 you'll have to implement a way to obtain their original FOV and compare, and that can get pretty dodgy. Especially if somebody changes their default FOV after joining.
tber123:
--- Quote from: Port on January 26, 2014, 03:30:46 PM ---GameConnection::getControlCameraFOV()
Albeit, if a client changes their default FOV from 90 you'll have to implement a way to obtain their original FOV and compare, and that can get pretty dodgy. Especially if somebody changes their default FOV after joining.
--- End quote ---
Nice.
No, I am not Lord Tony!:
I have a third person playertype that zooms up on the gun's ironsight but that's not what you are looking for. Perfect for resident evil type players.