SetSkipSpeech (int new_mode)
Changes whether the player can skip speech text by clicking the mouse.
This option is initially set in a checkbox in the Main tab of the editor, but
this function allows you to change it at run-time.
The value of NEW_MODE means the following:
0 player can skip text by clicking mouse or pressing key
1 player can skip text by pressing key only, not by clicking mouse
2 player cannot skip text with mouse or keyboard
3 text does not time-out; player must click mouse or press key each time
4 player can skip text by clicking mouse only, not by pressing key
Example:
SetSkipSpeech(2);
will make the player unable to skip the text by pressing a mouse button or a key.
See Also: Game.TextReadingSpeed
|