Author Topic: Question about set.key command  (Read 1607 times)

0 Members and 1 Guest are viewing this topic.

bok

  • Guest
Question about set.key command
« on: October 20, 2001, 07:28:30 AM »
Hi guys,
here's another question:
If I have assigned a key to a controller with the set.key command these keys are blocked for the rest of the game.
For example, I assigned the space-bar to controller c43 for a room where the space-bar is needed to shoot enemies. I did it this way:
set.key(32,0,c43);
When I exit that room and switch back to entering commands, the space-bar cant be used because it is still assigned to the controller. how can i reset these keys? there seems to be no command to do this.
has anybody had this problem before?
b.o.k.
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »



Offline Chris Cromer

Re: Question about set.key command
« Reply #1 on: October 20, 2001, 11:21:25 AM »
There is no command to reset the keys, unless that is what one of the unknowns does. Your best bet would probably be to change the key to one of the F1-F10's.
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

bok

  • Guest
Re: Question about set.key command
« Reply #2 on: October 20, 2001, 04:12:24 PM »
Hmm,
I feared it would be like this.  :(
The f-keys work, but the space-bar would of course be a lot cooler for action sequences.
I'll contact you via email with the details about the sequences i'm working on.
bok
« Last Edit: December 31, 1969, 07:00:00 PM by 1018072800 »


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.016 seconds with 14 queries.