Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 12,885 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
problem with a "mini" view #168278
11/19/07 20:24
11/19/07 20:24
Joined: Jan 2004
Posts: 59
S
SH6811 Offline OP
Junior Member
SH6811  Offline OP
Junior Member
S

Joined: Jan 2004
Posts: 59
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;
}

problem with a "mini" view [Re: SH6811] #168279
11/19/07 21:22
11/19/07 21:22
Joined: Sep 2006
Posts: 188
Latvia
MDI Offline
Member
MDI  Offline
Member

Joined: Sep 2006
Posts: 188
Latvia
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.


Latvija rullē
Re: problem with a "mini" view [Re: MDI] #168280
11/19/07 21:39
11/19/07 21:39
Joined: Jan 2004
Posts: 59
S
SH6811 Offline OP
Junior Member
SH6811  Offline OP
Junior Member
S

Joined: Jan 2004
Posts: 59
thanks for the reply. The "center_ent" is simply an entity that is always in the center of the screen view...


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1