Triggers when an AI becomes aware of other objects. Create a ScriptParams link to each object to watch for and set the link data to
af plus a code that identifies the object. When the AI becomes aware of the object it will send TurnOn to ScriptParams links that have the same code. If the AI can hear the object, links that begin with
aa are used. If it can see the object, links that begin with
av are used. TurnOff will be sent when the AI loses contact with the object. This script requires the DarkHook library.