NPC:AddEntityRelationship
Description
Makes the NPC like, hate, feel neutral towards, or fear the entity in question. If you want to setup relationship towards a certain entity class
, use NPC:AddRelationship.
Arguments
Example
Spawns a manhack and makes it fear player 1.
Example
Make every NPC entity that touches our NPC an enemy.