skip speech question

Started by Montague, Thu 01/02/2007 09:10:18

Previous topic - Next topic

Montague

I was wondering if it's possible to set skipspeech to skip on mouse click only (like option 3; that the text doesn't time out, except that pressing the keyboard doesn't skip speech. It has to do with keyboard movement).
A child of five would understand this. Send someone to fetch a child of five.

GarageGothic

I haven't tried this, but if you combine SetSkipSpeech(3) with game.skip_speech_specific_key(27), only mouseclick and ESC should be able to remove the text. If you don't want ESC to work either, you could try putting in a very high value, which isn't attached to any key.

Montague

#2
Thanks, I'll give it a try. (it's only the arrow keys that I don't want to skip speech, so esc will be fine).

EDIT: I get a parse error, I'll see if there's something wrong.
EDIT2: =27, not (27). Worked perfectly. Thanks!
A child of five would understand this. Send someone to fetch a child of five.

Ashen

I think using one of the 'special' keycodes:
Quote
403       Left shift
404       Right shift
405       Left ctrl
406       Right ctrl
407       Alt

Will disable any keypress from skipping speech. It used to, at any rate, and I don't see why it would've changed.
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk