Relations Implementation Example


In this example we will setup

  • Player being hostile to Bandits and friendly to Animals
  • Bandits being hostile to Players and to Animals
  • Animals being hostile to Badits and friendly to Players


Player


Bandits


Animals

With such setup player should be able to attack Bandits but not Animals.
Bandits and Animals should fight each other.