U
U
Uncle Bogdan2021-12-06 16:47:37
Unity
Uncle Bogdan, 2021-12-06 16:47:37

How to make such a combat system for the characters?

Hello! We need to make a combat system so that several characters are divided into pairs and fought. That is, if 5 against 5, then they will be divided into pairs until one of the pair dies and then the character will go to help the nearest of his team.

How to implement this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nekit Medvedev, 2021-12-09
@NIKROTOS

At the beginning of the battle, let one look for the nearest enemy, then he says, he is mine, the next one looks for the nearest one, finds out if he is busy, etc. ... when the enemy is dead, the unit simply looks for the nearest one and goes to him, etc. ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question