Started by
Minecraft Mathers
on
Topic category: Troubleshooting, bugs, and solutions
So, i'm making an effect called "Taunt" which makes all neutral/aggressive monster entities attack whoever has the Taunt effect... except, it also makes the entity WITH the effect attack ITSELF. Here's the procedure, under TauntOnEffectActiveTick:
For each entity as [Entity iterator] at x y z in square cube size of 7 Do:
If: Not is [entity iterator] (sub)type of player OR server player, AND not is [entity iterator] the same entity as [Event/target entity], AND is [entity iterator] (sub)type of monster entity
Do: Set the attack target of [entity iterator] to [event/target entity]
Anyone knows how to fix this? Thx in advance. :3
Can I get a screenshot of the procedure? The text is a little confusing. I think you might’ve messed up a Event Target Entity vs Entity Iterator somewhere and that’s why, but I could just be confused.
Here
https://postimg.cc/QK90npBk
Maybe the Set Attack Target of Entity is just an override block, so if there ends up being no target, it just picks one outside of your procedure. I don’t know for sure, I haven’t really played around with entities,