@painkiller do you have an example code that I can start or study with in how to assign second view on a bmap.


EDIT

I've read the manual about view.bmap and bmap_for_entity and I attempt to try the code like this


//CAR MIRROR
VIEW* carmirror_view =
{
flags = VISIBLE;
}


PANEL* mirror_pan =
{
pos_x = 100;
pos_y = 0;
layer = 1;
bmap = "mirror_middle.bmp";

}


on my main...

carmirror_view.bmap = bmap_for_entity(mirror_pan,0);
set(mirror_pan,VISIBLE);


but it won't run.

Could you guide me how to do it properly.

Last edited by jpxtreme; 01/21/11 09:31.