Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: Akatosh on July 02, 2010, 04:13:00 PM
-
Good evening,
I'm trying to overwrite the keyboard controls on a single line editor controls. But I've failed so far.
I have something like this on the window's script.
on "Keypress"
{
var button;
}
run();
}
// Run something.
}
}
I've tried to overwrite the keyboard's UP and DOWN keys but I've found out that those keys, as well as all "cursor moving" keys, can't be overwritten, the game just ignores that code.
Is it possible to overwritten or is it imbedded in the code?
-
I wouldn't say it's possible. The control handles the keys internally, so the game object never really has a chance of handling them.