Started by
Renko
on
Topic category: Troubleshooting, bugs, and solutions
Hello,
I am trying to make a hostile mob to go indoor at any time. But I can't figure out why it isn't working.
Should I make a condition in this situation ? The hitbox of the entity is not too big
AI tasks / goals list
v
Do Melee/contact attack with speed factor 1.2 (chase after lost sigh ->) Condition:00
v
Fight attacker mob back, call for help Condition:00
v
Move indoors if possible Condition:00
v
Open doors
v
Wander around (enables walking) with speed factor 0.8
v
Attack entities type : Player
Thanks you in advance for any help !
After more search and experimentations, It seems that the entity sees the door as a full/impassable block so it doesn't try to pathfind through the door to attack the player. Only when the door is open that the entity see the player and try to get to it. But then if you close the door before the entity enter. It will try to search a new path without success and not entering though the door
I tried too with "Close" and "Open door" at highest priority and also "move indoors". If anyone know a fix or an another way to make it work. I would be pleased