1. Home
  2. Docs
  3. AI Toolkit
  4. AI Systems
  5. Targeting

Targeting

VisAI’s Targeting System was designed to give AI a way to handle multiple targets at once in a logical way. The system can be used for things such as targeting multiple enemies for attack, creating “Queued Actions”, or some other way you find use for it. 

Targeting is integrated with the Relationship & Perception Systems, and with the change of a setting, your AI will target enemies on sight. You can also manually add and remove targets for things such as the Action Queue System described above. 

In the Targeting System, you’ll find things like Targeting Enemies on Sight, Main & Current Target(s), and more. Take a look at the list below to learn more about what the system has to offer. 

All Systems

  • Replicated
  • Modular
  • Optimized
  • Easy to Customize & Expand
  • Various Functions & Events to assist you during development

This System

  • Auto Target Enemies on Sight
  • Auto Target Cleanup (On invalid reference or custom)
  • Main & Current Target(s)
  • Auto Assign Main Target

What are the settings for? Do they provide minor changes, do they allow the user to create new logic on top of it, what are the goals for these settings? 

  • Target Enemies on Sight
  • Target Validity Update Time

Class Hierarchy;

System Location: AI Controller

Next Steps

The system provides powerful functions that are easy to use. Look through the different functions available to you and consider how you could use them with your AI. Chances are, you’ll find something that you don’t have to spend time building yourself. 

Learn how to modify systems by checking out the Modifying the Framework page. 

Was this article helpful to you? Yes No

How can we help?