problem with a "mini" view

Posted By: SH6811

problem with a "mini" view - 11/19/07 20:24

Hello,

Can somebody please explain the problem with this code. I simply want to place a "view" up in the corner of the screen. It does this however it "freezes up" the main camera view at the same time...the cursor then appears only within this "small" view...I have no idea why.

view Small_Look // sets up a view area for overhead birds eye view
{
layer = 99;
pos_x = 600;
pos_y = 50;
size_x = 150;
size_y = 150;
}

function Mini_On()
{
Small_Look.x = center_ent.x;
Small_Look.y = center_ent.y;
Small_Look.z = 500;
Small_Look.pan = 180;
Small_Look.tilt = -90;
Small_Look.roll = 0;
Small_Look.arc = 77;
Small_Look.visible = on;
}
Posted By: MDI

problem with a "mini" view - 11/19/07 21:22

what is that "center_ent"?
Otherwise this code is great!
Possible you are called this function in some while bracket.
Because to me very similiar miniview works without any problems.
Posted By: SH6811

Re: problem with a "mini" view - 11/19/07 21:39

thanks for the reply. The "center_ent" is simply an entity that is always in the center of the screen view...
© 2024 lite-C Forums