Author Topic: Key-pressed, key-reset-multiple, and the repeat count  (Read 1472 times)

0 Members and 1 Guest are viewing this topic.

Offline Nuclear1

  • 211
Key-pressed, key-reset-multiple, and the repeat count
Alright, this has been irritating me.

I'm trying to get a setup going where every time the player presses a button, something will happen.  I've tried dozens of combinations with the key-pressed, key-reset-multiple, and the trigger/repeat counts, but no luck.  I either get the event (in this case, a test message) simply going over and over again, or just once, and never again.
Spoon - I stand in awe by your flawless fredding. Truely, never before have I witnessed such magnificant display of beamz.
Axem -  I don't know what I'll do with my life now. Maybe I'll become a Nun, or take up Macrame. But where ever I go... I will remember you!
Axem - Sorry to post again when I said I was leaving for good, but something was nagging me. I don't want to say it in a way that shames the campaign but I think we can all agree it is actually.. incomplete. It is missing... Voice Acting.
Quanto - I for one would love to lend my beautiful singing voice into this wholesome project.
Nuclear1 - I want a duet.
AndrewofDoom - Make it a trio!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Key-pressed, key-reset-multiple, and the repeat count
The key-pressed SEXP has been broken for quite a while actually. It's more a design flaw with the way it was originally set up.

Your best hope for a repeating event is to use the every-time SEXP together with key-pressed and key-reset-multiple. Which key you actually use will determine your chances of success though as not all keys are treated the same.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

  

Offline Nuclear1

  • 211
Re: Key-pressed, key-reset-multiple, and the repeat count
Rats.

Alright, thanks for the help anyway. :)
Spoon - I stand in awe by your flawless fredding. Truely, never before have I witnessed such magnificant display of beamz.
Axem -  I don't know what I'll do with my life now. Maybe I'll become a Nun, or take up Macrame. But where ever I go... I will remember you!
Axem - Sorry to post again when I said I was leaving for good, but something was nagging me. I don't want to say it in a way that shames the campaign but I think we can all agree it is actually.. incomplete. It is missing... Voice Acting.
Quanto - I for one would love to lend my beautiful singing voice into this wholesome project.
Nuclear1 - I want a duet.
AndrewofDoom - Make it a trio!