1
Bug reports / Keyboard.IsAlt attribute
« on: June 16, 2014, 04:04:50 PM »
I'm using the latest beta build (1.10.1) on Windows 7. I added the following code to the Keypress event in game.script in the wme_demo project. Nothing else in the project has been modified.
Pressing Alt+Home does not produce the line of text. Strangely, Ctrl+Alt+Home works! Replacing IsAlt with IsControl or IsShift makes the code work as expected. e.g. Ctrl+Home and Shift+Home will call the statement inside the block.
Note: I've tried replacing VK_HOME with other keyboard codes just to make sure that wasn't some special binding, and the behavior is unchanged.
Code: WME Script
Pressing Alt+Home does not produce the line of text. Strangely, Ctrl+Alt+Home works! Replacing IsAlt with IsControl or IsShift makes the code work as expected. e.g. Ctrl+Home and Shift+Home will call the statement inside the block.
Note: I've tried replacing VK_HOME with other keyboard codes just to make sure that wasn't some special binding, and the behavior is unchanged.