Jump to content

Recommended Posts

as i remember hounds code, they targeting player by default( are we talking about hounds from event?), but if hound get attacked by anything else he broadcasting such information in some radius and other able to target new threat.

short answer - it's all about brains (which you don't need to change in your case) and about functions for combat component. Take a look for (i didn't code for a while, but can show direction which might help) OnAttacked() or OnGetAttacked() in combat component. There also OnAttack(). You can set up your custom functions for hounds prefab to force them not change target if they targeting player.

Edited by R1ncewind

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...