Key Bindings

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
CrackUps
Member
Posts: 96
Joined: October 6th, 2007, 12:21 am

Key Bindings

Post by CrackUps »

Could someone please explain to me how to make a key binding trigger in GUI or make a map with the trigger built into it for me to learn from, ty :D
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Key Bindings

Post by Aero »

For which keys?
How many players can use this at once?
What kind of things are being bound to the keys?
How many things can be bound to the keys?
User avatar
CrackUps
Member
Posts: 96
Joined: October 6th, 2007, 12:21 am

Re: Key Bindings

Post by CrackUps »

Binding a command to the up, down, left and right directional keys like in your cheat pack

eg. Typing -bindup -gold 100 binds the -gold 100 command to the up key

The command will be available for 6 players

and only one command binded to a key at a time with a -clearkeys and -showkeys commands i tried learning from your Jass script but im too useless to understand it fully atm lol

Thank you in advance:D
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Key Bindings

Post by Aero »

I'll make a demo map with code later this weekend if you still want it.
User avatar
CrackUps
Member
Posts: 96
Joined: October 6th, 2007, 12:21 am

Re: Key Bindings

Post by CrackUps »

Thatd be great thanks :D
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Key Bindings

Post by Aero »

Euhm. One question.

Will sort of commands will the Keys be binding?

It's definitely easier for me to design this given the map you want it in.
User avatar
CrackUps
Member
Posts: 96
Joined: October 6th, 2007, 12:21 am

Re: Key Bindings

Post by CrackUps »

Exactly like the one in your cheat pack except i ned it in GUI

so commands like -gold 100 or -str 999 etc
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Key Bindings

Post by Aero »

I don't know if you understand...

Binding keys isn't what you think it is.
I would seriously need the map you want it in.
User avatar
CrackUps
Member
Posts: 96
Joined: October 6th, 2007, 12:21 am

Re: Key Bindings

Post by CrackUps »

Im just using it to learn atm i was thinking about making my own cheat pack so i don't have a specific map to insert it into

Could you please just make a map with a key binding trigger in it for me to learn from?
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Key Bindings

Post by Aero »

Alright. I did it.

Now, for obvious reasons, it's not as efficient as the JASS version but it captures the essence of what takes place.

Download Key Bindings System [GUI]