Applying the Sound Detector Component
Last updated
Last updated
Important: Ensure your AI is fully setup before proceeding. If you have not done this yet, please see the Getting Started section.
If you haven't already done so, you will need to add the Sound Detector Component to your AI. You can do this by searching for the Sound Detector script and dragging it onto your AI.
After adding a new Sound Detector component, there are foldouts for each level of awareness. These are Unaware, Suspicious, and Aware. The reaction slots, within each foldout, control what reactions the AI takes when that Threat Level is met. A Reaction Object holds a list of reactions that the AI will follow in order.
Assign a Reaction Object to each slot. While starting off and familiarizing yourself with the Sound Detector Component, it is recommend to use the included example Reaction Objects. Assign the Unaware reaction object, to the Unaware reaction slot, the Suspicious reaction object, to the Suspicious reaction slot, and the Aware reaction object, to the Aware reaction slot.
Note: After the AI has a Sound Detector Component and Reaction Objects assigned for each Threat Level, it has sound detector capabilities. Users can fine tune the Sound Detector Settings to suit their needs.