Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Martin_HH. 11/23/26 20:38
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Martin_HH, LoT), 14,269 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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