VIEW* top_view =
{
layer = 15;
pos_x = 0;
pos_y = 0;
size_x = 200;
size_y = 150;
//arc = 60;
flags = VISIBLE;
x = Entplayer.x // should be player.x (dosn't work)
y = Entplayer.y; // should be player.y (dosn't work)
z = 900; // playing with this
//pan = 400;
}
function init_topcam()
{
while (player != NULL)
{
vec_set(top_view.x,playerEnt.x);
vec_set(top_view.y,playerEnt.y);
vec_set(top_view.z,playerEnt.z);
//top_view.y = playerEnt.y;
wait (1);
}
}
// In a while(1) loop
init_topcam();