Simple Hotkey

This is a trigger Simple Script. It allows an object, through some interaction with a user, to trigger a response from a responder Simple Script in the same scene.

For an overview of Simple Scripts, see Simple Scripts user guide.

Details

SimpleHotkey sends events when particular keyboard keys are pressed.

Parameters

Command 1 The command to listen for in order to send On Command 1 -> events. A comma-separated list of commands can be used to designate a key combination; all keys listed must be pressed at the same time to trigger the event. See CommandData for a list of available commands.
On Command 1 -> The name of the event to send when the key or combo from Command 1 is pressed.
Command 2 The command to listen for in order to send On Command 2 -> events. A comma-separated list of commands can be used to designate a key combination; all keys listed must be pressed at the same time to trigger the event. See CommandData for a list of available commands.
On Command 2 -> The name of the event to send when the key or combo from Command 2 is pressed.
Command 3 The command to listen for in order to send On Command 3 -> events. A comma-separated list of commands can be used to designate a key combination; all keys listed must be pressed at the same time to trigger the event. See CommandData for a list of available commands.
On Command 3 -> The name of the event to send when the key or combo from Command 3 is pressed.
Owner Restricted If on, then the commands in this script only respond to key-presses by the scene owner.
-> Enable When this message is received, the script begins responding to events.
-> Disable When this message is received, the script stops responding to events.
Start Enabled

If on, this script responds to events when the scene is loaded. If off, the script will not respond to events until an -> Enable event is received.

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.