Started by
GmanDaBest2
on
Topic category: Feature requests and ideas for MCreator
Hi, I was going to create a boss in MCreator that will always pathfind towards you even through blocks, though I couldn't find any way to do this, and I feel like a lot of other people making boss-like entities would like this to be an optional box you can check in behavior or an AI block in the "AI and goals" section, this would be very helpful for entities that spawn in say a different room than the player and need to get to the player, and if I am missing any way to do this in the current state of MCreator, please tell me.
Edited by GmanDaBest2 on Mon, 11/29/2021 - 18:24
get location of nearest player return {x,y,z} then get location return {x,y,z}
get distance from nearest player if larger than 800{return ("to far")}
else {
apply force (((player x,y,z - self x,y,z) / distance from nearest player)+{insert additonal movement})
MinerMinerMods
I meant to ask if this was possible to be done with procedures rather than code, I am not a coder myself and don't really have a clue as to what your reply means, thank you for replying regardless.