Please try the code below, maybe this might help.

Code:
#include <default.c>

#define PRAGMA_PATH "%EXE_DIR%\samples"

FONT* A20b = "Arial#20b";

function main()
{
	level_load("small.hmp");
	vec_set(camera.x,vector(-300,0,20));

	ent_create(CUBE_MDL, vector(0,0,0), NULL);
	
	PANEL *pInfo = pan_create(NULL,0);
	
	pan_setdigits(pInfo,0,1,5,"FOV = %f", A20b, 1, camera.arc);
	pan_setcolor(pInfo,1,1,COLOR_GREEN);
	pInfo.pos_x = 5; pInfo.pos_y = 110;
	set(pInfo, OUTLINE|SHOW);
	
	def_debug();
	camera.arc = 65;
	
	while (1)
	{
		while (camera.arc > 10)
		{
			camera.arc = clamp((camera.arc += 10 * mickey.z * time_step/16), 10, 120);
			wait (1);
		}
		while (camera.arc < 11)
		{
			vec_add(camera.pan, vector((5 - random(10)) * 0.01 * time_step, (5 - random(10)) * 0.01 * time_step, 0));
			camera.arc = clamp((camera.arc += 10 * mickey.z * time_step/16), 10, 120);
			wait (1);
		}
		wait(1);
	}
}




Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P