Complex Mob AI

Started by Conflee on Wed, 02/06/2019 - 23:29

Topic category: Help with modding (Java Edition)

Last seen on 19:11, 3. Jul 2019
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Complex Mob AI
Wed, 02/06/2019 - 23:29

Hello! I'll keep this brief. Im trying to figure out the variables and such when setting up a Mob's AI but there's a lot that seems to be there but doesn't actually work the way it intuitively should to me. 

Mainly in the Logic Variables. As an example, I want to do a thing When Mob Hurt, then add 1 to a "damage" value, then check if "damage" = a number, and if thats true then it does an event. Like Spawn zombies. I can see parts that logically seem like they can do this but most don't slot together and I can figure it out. 

 

Also is there any way to call values from the Mob? IE instead of messing with custom scores to keep up with it for Boss Fight staging, just do When Mob Hurt If Entity Health less than 30 do thing? 

Last seen on 22:36, 26. May 2020
Joined Aug 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
As you said "this is complex…
Fri, 02/08/2019 - 16:45

As you said "this is complex!"