Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 13,972 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Disable key_1? [Re: Uhrwerk] #395116
02/20/12 00:28
02/20/12 00:28
Joined: Nov 2009
Posts: 70
Siwler Offline OP
Junior Member
Siwler  Offline OP
Junior Member

Joined: Nov 2009
Posts: 70
Thanks for all the help, I appreciate you taking your time to helping me out.


Honesty will get you far, were dishonesty will get you only so far in life.

Re: Disable key_1? [Re: Siwler] #395124
02/20/12 01:39
02/20/12 01:39
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
You're welcome. But much more important: did you solve your problem?


Always learn from history, to be sure you make the same mistakes again...
Re: Disable key_1? [Re: Uhrwerk] #395132
02/20/12 02:24
02/20/12 02:24
Joined: Nov 2009
Posts: 70
Siwler Offline OP
Junior Member
Siwler  Offline OP
Junior Member

Joined: Nov 2009
Posts: 70
Lol no, not the way you showed me, for some reason I couldn't disable key 1.

I even checked if key 1 was been active somewhere else as you showed me to check for and nothing happened, it was OK.

So I had no choice but to switch temporarily key 1's scan number, strange that NULL didn't work for replacing the scan number, I wish there was a scan number that was neutral to any of the keys, it would work perfectly.

I worked on this issue for 2 weeks now so this what I came up with is OK for now.
I have to move on to my next issue.


Honesty will get you far, were dishonesty will get you only so far in life.

Re: Disable key_1? [Re: Siwler] #395139
02/20/12 08:17
02/20/12 08:17
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
You could upload your project so that we can have a look at it. I can tell you that there is no bug in the engine but in your code wink

Re: Disable key_1? [Re: PadMalcom] #395200
02/20/12 21:46
02/20/12 21:46
Joined: Nov 2009
Posts: 70
Siwler Offline OP
Junior Member
Siwler  Offline OP
Junior Member

Joined: Nov 2009
Posts: 70
Thanks I might just do that after menu system, which is also giving me a headache lol.

Are there directions anywhere on how to upload projects?


Honesty will get you far, were dishonesty will get you only so far in life.

Re: Disable key_1? [Re: Siwler] #395233
02/21/12 11:40
02/21/12 11:40
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Originally Posted By: Siwler
So I had no choice but to switch temporarily key 1's scan number

You changed a key's scan number? Could you explain that?


Always learn from history, to be sure you make the same mistakes again...
Re: Disable key_1? [Re: Uhrwerk] #395294
02/21/12 21:52
02/21/12 21:52
Joined: Nov 2009
Posts: 70
Siwler Offline OP
Junior Member
Siwler  Offline OP
Junior Member

Joined: Nov 2009
Posts: 70
Here is part of my code and check the str_for_key in both actions.


Code:
action WepShoppe_loadLvL() // attach this action to an entity at the weapons shoppes door 

{
       
       while (vec_dist (player.x, my.x) > 100)  // wait until the player comes close to this entity

       {         
               wait (1);        
       }
       
       level_load (WepShoppe_wmb); // now load the wepshoppe level
       mouse_mode = 4; // set courser on for this lvl
       mouse_map = cursor_pcx;           
       str_for_key(key_weapon1, 11); // swich 2 into 11 on  key_board
       


action City1_loadLvL() // attach this action to an entity at the door in WepShoppe lvl to go back to main level

{
       while (vec_dist (player.x, my.x) > 100)  // wait until the player comes close to this entity
       {
               wait (1);        
       }   
       str_for_key(key_weapon1, 2); // swich 11 back into 2 on keyboard       
       level_load (City1_wmb); // now load the main level
       mouse_mode = 0;  //turn off mouse courser       
}



I know it does not solve the problem completely but after 2 weeks working on this I said its close enough. laugh


Honesty will get you far, were dishonesty will get you only so far in life.

Page 2 of 2 1 2

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