User Tools

Site Tools


tnhscript:trapkillevents

TrapKillEvents

This can disable user input. All user input, which means even the escape key doesn’t work. So the script will always time out even if you don’t set the Script\Timing property. The default time is 10 seconds.

The event mask is a binary string representing the events to disable.

1000 Allow mouse movement.
0100 Allow mouse buttons.
0010 ??? (Joystick, maybe)
0001 Allow keyboard.

If the parameter is read from a quest variable, the binary bits of the integer are used.

Inherits GenericTrap
Parameters event_mask
tnhscript/trapkillevents.txt · Last modified: 2010/11/23 00:12 (external edit)