Once you have a VIEW set up, then you will need ot create an object that displays that VIEW. Here's how I set it up in my game, you will probably use different variables and such, but it may help you understand:

Quote:
while(screen_exists_n == 1)
{
camera2_view.bmap = bmap_for_entity(my,1);
vec_set(camera2_view.x,ent_spaceship.x); // set the view positions here
vec_set(camera2_view.pan,ent_spaceship.pan); // set the view angles here

wait(1);
}



I asked a question about using dynamic lights in a VIEW entity. You may want to look at some of the links and comments from that thread:

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=453845#Post453845