Combat
Setting up a combat system for AI
Name
Description
Meel Combat
Setting up melee combat for AI.
Meel Combat

Target Settings

Target Selection: the algorithm for selecting a goal.
Name
Description
First
The first one that came along.
Nearest
Nearest target.
Distant
The farthest goal.
Field Of View
Here we put a link to the vision component for AI.
Combat Settings
Attack State
Responsible for selecting the goal.
Distance Tolerance
It is responsible for the distance at which the damage from the impact will no longer pass.
Example:
It often happens that you seem to have run away from the enemy, but still received damage, even though it was physically impossible. To prevent this, this variable was introduced.
Attack State Property

Name
Description
State
Animation name, animation layer, transition time to this animation.
Time
Animation duration.
Damage Time
The time of the strike.
Damage Amount
The damage caused by the impact.
Last updated
Was this helpful?