NPC:AddRelationship
Description
Changes how an NPC feels towards another NPC. If you want to setup relationship towards a certain entity
, use NPC:AddEntityRelationship.
Avoid using this in GM:OnEntityCreated to prevent crashing due to infinite loops. This function may create an entity with given class and delete it immediately after.
Arguments
Example
Spawns a manhack and makes it hate floor turrets.