Put this in the Entity's action:
Code:
while(1)
{
     camera.x = player.x;
     camera.y = player.y;
     camera.z = player.z;
     camera.pan = player.pan;
     camera.tilt = player.tilt;
     camera.roll = player.roll;
     wait(1);
}