| Category | Scripting |
| Created | 27.06.2009 16:09 |
| Heady Planet-ls (Headshot XXL) | 27.06.2009 16:16 |
|---|---|
| how is the script for the key sequence CTRL+ALT+B? if sym == Input.MOD_CTRL and sym == Input.MOD_ALT and sym == Input.KEY_b then print(test) end; does not work. |
|
| Christian Ammann - GIANTS Software | 28.06.2009 12:11 |
|---|---|
| CTRL and ALT are stored in the modifier but as a bit in a bitfield. So use use this code "if bitAND(modifier, Input.MOD_CTRL) > 0 then" to test if the modifier is actived. Cheers |
|
| Heady Planet-ls (Headshot XXL) | 28.06.2009 21:00 |
|---|---|
| Tanks it works. |
|
Note: Log in to post. Create a new account here.