Moving Camera on Request Class
#1

Hey there,

I've recently used Drebin's Camera Editor filterscript to generate a camera movement so I can implement into my script.

The output was as follows:

Код:
InterpolateCameraPos(playerid, 1542.339843, -1676.244384, 30.847208, 1421.688476, -1647.271606, 38.576740, 2000);
InterpolateCameraLookAt(playerid, 1547.319580, -1676.068481, 30.433620, 1418.010864, -1643.885131, 38.490806, 2000);
How can I install that into my script so that the camera only starts moving when you go onto a different class? Because at the moment it moves as soon as you go onto OnPlayerRequestClass and as soon as you press the side arrows...

Adding it into the following:

Код:
switch ( classid )
{
	case 0 .. 6 :
	{


	}
	case 7 .. 8 :
	{

	}
}
Can you please help?

Thanks,

FunnyBear
Reply


Messages In This Thread
Moving Camera on Request Class - by FunnyBear - 22.12.2015, 18:29
Re: Moving Camera on Request Class - by FunnyBear - 23.12.2015, 11:42
Re: Moving Camera on Request Class - by vassilis - 23.12.2015, 12:10
Re: Moving Camera on Request Class - by FunnyBear - 23.12.2015, 12:26
Re: Moving Camera on Request Class - by RoboN1X - 23.12.2015, 12:50

Forum Jump:


Users browsing this thread: 3 Guest(s)