Used (pressed) keys

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Guderian
Lance Corporal
Posts: 19
Joined: Tue Apr 26, 2005 6:56 pm
Location: Ukraine

Used (pressed) keys

Post by Guderian »

Huy all!

I don't understand how works getboundkey1 :(
It means I want that during the game player use some keys ("q", "w" or some else ) and then something happyning or doing.
For example, player use the key "t" and will playing the music, used again the music will stopped. And i don't want to use triggers.

Somebody know how to do this or may be knows where i can read about it. :?: :?: :?:
Ukraine is the best
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Getboundkey returns a text description of a key assigned to a specific input function (like moving, using stuff, jumping etc.) and works in single player only.

What you're trying to do is very hard to do and involves advanced scripting. Use the search function and look for 'state menus'.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Post Reply