Automatic place char. into keyboard buffer?

Blitz3D Forums/Blitz3D Beginners Area/Automatic place char. into keyboard buffer?

>The virtual key is needed because I DON'T want
>to manually input data into the keyboard buffer.
>I don't type 'S' and 'X'. Let Blitz3D do it for me.

The virtual key is not needed in that situation. You simply do as Stevie G suggested above.

>The function is useful when you run a auto-play demo.
>eg. when you enter old doom game and leave it there,
>after a while, it will play automatically.

You just use a timer and act on this timer in an IF...THEN structure.

The reason people are all over you, is because you are using a complicated and unnessesary solution instead of a few lines of B3D code.


Andy