Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 04/05/26 10:06
TMFs on options in live trading
by Spirit. 03/26/26 19:52
TDAmeritrade plugin with new Schwab accountt?
by AndrewAMD. 03/24/26 17:11
Black Book, 4th edition
by jcl. 03/17/26 09:28
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Ayumi), 4,201 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ondrej, mredit, vestriaa, Lukudo, mldenoiser
19205 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