Typing promt
Posted: Fri Jun 11, 2010 1:45 pm
Can you make typing promt move itself instead of removing text when pressing left arrow?
Script from Engine.Console
Script from Engine.Console
Code: Select all
state Typing
{
............
function bool KeyEvent( EInputKey Key, EInputAction Action, FLOAT Delta )
{
............
else if ( Key==IK_Backspace || Key==IK_Left )
{
if ( Len(TypedStr)>0 )
TypedStr = Left(TypedStr,Len(TypedStr)-1);
Scrollback = 0;
}
return true;
............
}
............
}