A downloadable plugin


A behaviour to set events for key-press/release. Made by Guest.

Features:
Define keys using key-codes.
Set actions/events for key-press.
Set actions/events for key-release,.
Set key-repeat on/off.
Set key-repeat delay.

Usage:
1- Set KeyCode (integer), which you can obtain by setting the Boolean value of the PrintKeyCodes property to true. The default KeyCode is for the 'A' key (65), as in CC.
2- set actions to do (when key-pressed)
3- 2- set actions to do (when key-pressed)
4- Set key-repeat toggle (on/off)
5- Set Key-repeat delay time

This plugin was made by Guest(Guest) from the CopperCube forum. Latest public version hosted here for distribution and safe-keeping.

Download

Download
behaviour_CopperCubeKeyEventSetter.zip 978 bytes

Install instructions

Drag into your "Documents>Coppercube>Extensions>" Folder. Restart Coppercube to automatically install the plugin, select "Behaviour>Scripts>action_ConditionalActionExecutor" to add it to your projects.

Leave a comment

Log in with itch.io to leave a comment.