1. Home
  2. Docs
  3. AI Toolkit
  4. AI Systems
  5. Health & Damage

Health & Damage

VisAI’s Health & Damage System is inherited from the VisBP – Health & Damage System

You’ll find a complete, easy to use, and easy to customize Actor Component that can be added to any actor to immediately add Health & Damage. The system integrates directly with UE4’s Damage system, so everything is replicated and there’s no need to call any events or provide it with any information. All you’ll need to do is customize!

In the Health and Damage System, you’ll find things like Health Regeneration, Damage Tracking, 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

  • Health
  • Health Regen
  • Damage
  • Damage Tracking
  • AI Perception Report – Damaged
  • Easy, Replicated Death-logic integration

Below, you’ll find some of the settings that are provided to you for fast customization of the system. 

  • Max Health
  • Low Health Percent
  • Health Regen w/ Rate & Delay
  • “Can Die”
  • Uses Damage Tracking
  • Damage Tracking Record Limit
  • Friendly Fire
  • Damage Perception Report Range

Using the Health and Damage system is as easy as referencing the Health & Damage Component attached to every VisAI Character. 

(If your AI is not inherited from VisAI’s Character, be sure to add the Health and Damage component found in the subsystem your AI inherits from. (E.G. VisAI/FPS/VisAI_FPS_HealthAndDamage_C)

Class Hierarchy;

System Location: VisBP_HealthAndDamage_C

Attached Class: Character Blueprint

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?