Skipping speech with specific keyboard key only. [SOLVED]

Started by Retro Wolf, Fri 11/12/2015 18:55:00

Previous topic - Next topic

Retro Wolf

At the moment you can skip character speech with all the keyboard keys, I want to map it to just one. That way you can't fast-forward through dialogue accidentally when using keyboard movement.

I appreciate any help!

Crimson Wizard

Prior to AGS 3.3.0:
game.skip_speech_specific_key

AGS 3.3.0 and later:
Speech.SkipKey

Retro Wolf

I'm surprised I didn't see that one, cheers CW!
For some reason though, you can only use special keys like space and return, you can't use letter keys. Not a deal-breaker, but interesting...

Crimson Wizard

Quote from: Retro Wolf on Sat 12/12/2015 22:11:25
For some reason though, you can only use special keys like space and return, you can't use letter keys. Not a deal-breaker, but interesting...
You should be able to do this. What script do you have?

Retro Wolf

Speech.SkipKey = eKeyX;

It just seems to hate letters, other keys work fine.

Blank template, just a bunch of player.say commands after each other, no special speech settings or custom scripts.
AGS 3.3.4.2

Khris

This looks like a lowercase/uppercase bug; using Speech.SkipKey = eKeyX + 32; fixes it.

Retro Wolf


SMF spam blocked by CleanTalk