Shadowh4nd Posted April 17, 2019 Share Posted April 17, 2019 Sry for pseudocode. Companion AI needs some serious tweaking, consider: Base targeting range 15m from owner. Can move outside of this radius but will not target outside of it. If "owner distance" > 29m, stop all actions and return to owner. Is player in combat? Prefer their target 65% If "attacking" but "no damage" then "return to owner" after 5 seconds If "moving to target" but "no contact" then "return to owner" after 5 seconds If "returning to owner" but "no contact" then teleport after 10 seconds. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now