| Blockland Forums > Suggestions & Requests |
| A script that locks my fov |
| (1/2) > >> |
| Sirherg1:
The default FOV in Blockland gives me a headache to I like to set my FOV through the command "setfov(120);". However, the fov automatically resets to the default value after I do something like change my weapon, die, ect. Is there any script or way to edit and lock the default FOV value? I'm tired of constantly having to change it. |
| mp7964:
Infinite loop that calls the setFov function? :cookieMonster: |
| Sirherg1:
--- Quote from: mp7964 on August 11, 2012, 11:56:37 PM ---Infinite loop that calls the setFov function? :cookieMonster: --- End quote --- well sure if that works. How do you set that up? |
| Kalphiter:
--- Quote from: Sirherg1 on August 12, 2012, 12:00:46 AM ---well sure if that works. How do you set that up? --- End quote --- He's being sarcastic, that will freeze up your game. |
| Lugnut:
--- Quote from: Kalphiter on August 12, 2012, 12:05:29 AM ---He's being sarcastic, that will freeze up your game. --- End quote --- I'm sure he was thinking of a schedule loop. Speaking of schedule loops: function lockFov(%on) { cancel($fovLoop); if(!%on) return; setFov(120); $fovLoop = schedule(250, 0, lockFov, 1); } To start, put this in console: lockFov(1); To stop, put this in console: lockFov(0); |
| Navigation |
| Message Index |
| Next page |