Behaviours - WoutProvost/FCNPC-AI GitHub Wiki

HomeConstantsBehaviours

FAI__BEHAVIOUR_FRIENDLY
  • Description: The NPC will never attack, not even when damaged.
  • Notes: A target can still be set programmatically with FAI_SetTarget.

FAI__BEHAVIOUR_NEUTRAL
  • Description: A player will aggro an idle NPC, if the player damages him from afar by physically afflicting damage to the NPC. If the NPC's target becomes invalid, he will try to find a new valid target within his aggroRange. If there are multiple players in his aggro range, the closest player will be chosen. If he doesn't find a player, the encounter stops.

FAI__BEHAVIOUR_UNFRIENDLY