Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Quad, TipmyPip, mistery), 9,740 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Error in manual mouse_panel #395660
02/26/12 08:33
02/26/12 08:33
Joined: May 2008
Posts: 257
D
djfeeler Offline OP
Member
djfeeler  Offline OP
Member
D

Joined: May 2008
Posts: 257
Hello !

I have an error in manual in mouse_panel :

The correct code is :

Code:
function click_panels_away()
{	
  mouse_mode = 4;
  while(1)
	{
		if(mouse_left)
			if(mouse_panel)
				reset(mouse_panel,SHOW);
		wait(1);
	}
}



Djfeeler

Re: Error in manual mouse_panel [Re: djfeeler] #395661
02/26/12 10:14
02/26/12 10:14
Joined: Sep 2009
Posts: 1,035
Budapest
Aku_Aku Offline
Serious User
Aku_Aku  Offline
Serious User

Joined: Sep 2009
Posts: 1,035
Budapest
This is in the manual of the A7:
Code:
function click_panels_away()
{	
  mouse_mode = 4;
  while(1)
  {
    if (mouse_left && mouse_panel) // left button pressed over panel?
      reset(mouse_panel,SHOW); // remove clicked panel
    wait(1);
  }  
}


What should be the wrong part of it?

Last edited by Aku_Aku; 02/26/12 10:14.
Re: Error in manual mouse_panel [Re: Aku_Aku] #395663
02/26/12 10:53
02/26/12 10:53
Joined: May 2008
Posts: 257
D
djfeeler Offline OP
Member
djfeeler  Offline OP
Member
D

Joined: May 2008
Posts: 257
When I compile the compiler return syntax error can't convert ANDAND: FIXED:POINTER:LONG

with this code it is ok or with

Code:
function click_panels_away()
{	
  mouse_mode = 4;
  while(1)
  {
    if (mouse_left && mouse_panel ==1) // left button pressed over panel?
      reset(mouse_panel,SHOW); // remove clicked panel
    wait(1);
  }  
}



Re: Error in manual mouse_panel [Re: djfeeler] #395664
02/26/12 10:55
02/26/12 10:55
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
The latest (private) beta fixed this, so please wait for the public beta. wink


Moderated by  aztec, Inestical, Matt_Coles, Tobias 

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