The Touch Detector Script is a script which can be placed inside of objects and upon touch, can send you a message alerting you of who has touched that object. To configure the Touch Detector Script, simply click the object you have placed it in and a menu will appear with the following options:
Messages: This option allows you to enable/disable detection messages completely without having to constantly add/remove the script from the same object.
Range Limiter: Lets you specify a touch detection range. Only avatars within that range will generate touch detections. For example, if you only want to know who is touching your object within 20 meters, you could set this value to 20. The default value is 0(disabled), which means all touches will be detected regardless of their range.
Anti-Spam: With this enabled, touch detections will be throttled to prevent an excessive number of messages from being sent to you.
Show Config: Shows the current settings for script.
Stop Menu: Prevents the menu from appearing any further. This is primarily used for certain items where there are other scripts that may generate their own menus and will prevent you from receiving multiple menus when you click them. You should only use this after configuring the touch detector script to the desired settings. The only way to change a setting after using this is to delete the current copy inside the object and putting a new copy in.
- Sends you messages on touch detection.
- Lets you specify a touch detection range.
- Anti-Spam prevents excessive messages.