Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by mistery. 12/05/26 12:48
contractUpdate() is filtering if >2 rows
by mistery. 12/04/26 19:03
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 2,538 guests, and 0 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
zoom in and out using middle mouse #275327
07/01/09 01:20
07/01/09 01:20
Joined: Jun 2009
Posts: 31
USA
G
Gus65 Offline OP
Newbie
Gus65  Offline OP
Newbie
G

Joined: Jun 2009
Posts: 31
USA
whats the script codes for using the middle mouse roll forward and backward in order to zoom in and out the map ?
thx.

Re: zoom in and out using middle mouse [Re: Gus65] #275330
07/01/09 01:44
07/01/09 01:44
Joined: Mar 2009
Posts: 276
Cebu City, Philippines
boyax Offline
Member
boyax  Offline
Member

Joined: Mar 2009
Posts: 276
Cebu City, Philippines
adjusting the camera.arc would do the zoom in/out.
try to look in the manual for mouse_middle

Re: zoom in and out using middle mouse [Re: boyax] #275333
07/01/09 02:07
07/01/09 02:07
Joined: Aug 2003
Posts: 902
Van Buren, Ar
Gordon Offline
User
Gordon  Offline
User

Joined: Aug 2003
Posts: 902
Van Buren, Ar
Try to use the manual it is a big help...

mickey
Movement of the mouse in pixels (mickey.x, mickey.y) and the mouse wheel in 120 units per notch (mickey.z) within the last frame.
Type:
vector, read-only
Example:
action move_me_by_mouse()
{
mouse_mode = 0;
while (1)
{
my.pan += mickey.x*time_step;
my.tilt += mickey.y*time_step;
c_move(me,vector(mickey.z*0.1*time_step,0,0),nullvector,0);
wait(1);
}
}


Our new web site:Westmarch Studios

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