float camLerpTime;
float camLerpTotalTime;
kVec3 camLerpFrom;
kVec3 camLerpTo;
//------------------------------------------------------------------------------------------------------------------------
// Coyote Pickup
//------------------------------------------------------------------------------------------------------------------------
$script 9996
{
	int amount;
	GameVariables.GetInt("BP_DefensePickups", amount);
	if (amount == 1)
	{
		delay(2.5f);
		for (int i = 0; i < 7; i++)
		{
			Game.PrintHelp(LTKey(19));
			delay(1.0f);
		}
	}
}
//------------------------------------------------------------------------------------------------------------------------
// Cougar Pickup
//------------------------------------------------------------------------------------------------------------------------
$script 9995
{
	int amount;
	GameVariables.GetInt("BP_SpeedPickups", amount);
	if (amount == 1)
	{
		delay(2.5f);
		for (int i = 0; i < 7; i++)
		{
			Game.PrintHelp(LTKey(20));
			delay(1.0f);
		}
	}
}
//------------------------------------------------------------------------------------------------------------------------
void CameraMove(kActor@ instigator, const kVec3 &in from, const kVec3 &in to, float time)
{
	Game.HaltMapScript(CameraMoveScriptID); //Update Camera Move
	camLerpFrom = from;
	camLerpTo = to;
	camLerpTotalTime = Math::Maxf(time, 0.001f);
	camLerpTime = 0.0f;
	Game.CallDelayedMapScript(CameraMoveScriptID, instigator, 0); //Update Camera Move
}
//------------------------------------------------------------------------------------------------------------------------
// CameraMoveScriptID
//------------------------------------------------------------------------------------------------------------------------
$script 9993
{
	float t = camLerpTime / camLerpTotalTime;
	Camera.origin = Math::SmoothStepVec3(camLerpFrom, camLerpTo, t);
	if (t >= 1.0f)
	{
		return;
	}
	camLerpTime += GAME_DELTA_TIME;
	$restart;
}
//------------------------------------------------------------------------------------------------------------------------
