#Mob controlled by AI

1 messages · Page 1 of 1 (latest)

keen estuary
#

Is it possible to combine AI with mobs? (maybe by using scripting?)

dawn spoke
#

What do you mean by that? Do you mean by something similar to chat gpt? As you can give mobs ai with components

keen estuary
#

I'm talking about using AI that will react to situations and will also learn from his mistakes. For example if a player killed him by pushing him to a hole then next time the mob will try to avoid holes.

dawn spoke
#

Ah. What you're looking for is something called machine learning. I know nothing about the algorithms behind that, but if you were to do it you'd need a pretty big database of some kind, which is difficult to do in Mc.

As for the algorithm itself, a quick search on the internet brought this page up: https://www.w3schools.com/ai/ai_javascript.asp

I haven't checked it out, but I learned some python from w3schools and they're generally pretty good

#

And this is what bing chat said when I asked it

dawn spoke
#

Sorry for the low resolution