Feroov Posted May 30, 2023 Posted May 30, 2023 So I have two entities, one is an absolute passive, like an animal, when you hit them they run away, and the other variant is like a guard (two seperate entities, "Xeron" and "Xeron Guard"). So I did manage to make the guards neutral so that when I hit them, the rest of the guards come after the player (I followed how the wolf class is made, HurtByTarget etc). The main question or the problem is, is it possible to make it so that if I hit the normal passive entity, the guards are also alerted and come after the player? Thanks in advance Quote
ChampionAsh5357 Posted May 31, 2023 Posted May 31, 2023 14 hours ago, Feroov said: is it possible to make it so that if I hit the normal passive entity, the guards are also alerted and come after the player? Sure, though you're going to need to use AttackEntityEvent or something similar to listen to when the player attacks an entity. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.