Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (AndrewAMD, fogman, Grant, juanex), 972 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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 | chip programmers | 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