OK honestly I am not a rocket scientist but wth is with all the stuff in the docs on coding. Yes I am grateful it gives examples but where do I put the examples at. Do I always make a new wdl or what.
Right from the manual does not say if you need to add to the main script or add anew script with the code in it. Sorry if I sound a little angry but I am.
Quote:
Angle that gives the horizontal field of view. It's default value of 60 degrees corresponds to the human eye. By decreasing this angle you'll get a telescope effect. If the arc of a view has a negative value, the view is horizontally flipped. This way rear view mirrors can be realized.
Range
-180 .. 180 (default: 60)
Type:
var
Example:
function sniper()
{
while(1)
{
if(mouse_right) // right mouse button pressed
{
camera.arc = max(camera.arc - time, 30); // reduce fiel of view
}
else
{
camera.arc = min(camera.arc + time, 60); // increase fiel of view
}
wait(1);
}
}