repeated typing function.

here is a typing function I made,
it was a time consuming function but it was not hard at all,
it covers a through z, shift works, it can repeat, backspace works, and it also covers all those from keys 1 to the = key.
and enter/return works to!(only right shift is the shift key that works.)
here is what you do to use it:
put this in the global code and save it as somthing,
then make a text actor and put this in its draw actor event,
to make the repeat slower or faster adjust the number to the right(the 5.)
and on on the key released(key up) of any key use this
I think this will come in handy for an rpg game where you talk,
and maybe even when the multiplayer capability comes out.
I will be changing and advancing this code every once and a while.
its a bit buggy but it works!
it was a time consuming function but it was not hard at all,
it covers a through z, shift works, it can repeat, backspace works, and it also covers all those from keys 1 to the = key.
and enter/return works to!(only right shift is the shift key that works.)

here is what you do to use it:
put this in the global code and save it as somthing,
- Code: Select all
code removed,
I am inproving it with a much smaller, Better version.
= )
then make a text actor and put this in its draw actor event,
- Code: Select all
allow_type(text, 5);
to make the repeat slower or faster adjust the number to the right(the 5.)
and on on the key released(key up) of any key use this
- Code: Select all
no_wait();
I think this will come in handy for an rpg game where you talk,
and maybe even when the multiplayer capability comes out.

I will be changing and advancing this code every once and a while.

its a bit buggy but it works!