Jump to content
Dante Unbound: Share Bug Reports and Feedback Here! ×

AI Companion Scripting


Shadowh4nd
 Share

Recommended Posts

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.
  • Like 2
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...