Entity attack AI

Started by ChromaticAeternus on

Topic category: Feature requests and ideas for MCreator

Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity attack AI

I have an idea for the AIs: For the "Attack entities of type [ONLY 1 CHOICE]", if we want our mob to attack every mob, that would be boring and long to make a billion of "Attack entities of type [ONLY 1 CHOICE]", so, instead, why not doing a system of checkmark and select all the mobs we want the entity to attack?

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can actually do…
Tue, 06/09/2020 - 00:39

You can actually do something to shorten the amount of clicks to select the entities to be attacked by choosing those 4 options:

Entity:Player

Entity:PlayerMP

Entity:Monster

Entity:Creature (or mob iirc)

Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, but the problem is that…
Tue, 06/09/2020 - 08:52

Yes, but the problem is that If I put 2 same mobs, they'll fight each others, despite they are the same mob.

Second problem, I made a serie of robots, but If I spawn all of them, they'll fight each others, despite they are teammates.

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can change the code…
Tue, 06/09/2020 - 20:26

You can change the code itself to go around that. Making so that if the mob is the same type as it, it won't attack them. Perhaps a procedure can do the trick as well, on update tick.